Skip to content

Commit

Permalink
Fix parsing forwarded text
Browse files Browse the repository at this point in the history
  • Loading branch information
naveensingh committed Jan 5, 2025
1 parent 455588a commit 9d324b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class NewConversationActivity : SimpleActivity() {
Intent(this, ThreadActivity::class.java).apply {
putExtra(THREAD_ID, getThreadId(numbers))
putExtra(THREAD_TITLE, name)
putExtra(THREAD_TEXT, body)
putExtra(THREAD_TEXT, body.ifEmpty { intent.getStringExtra(Intent.EXTRA_TEXT) })
putExtra(THREAD_NUMBER, number)

if (intent.action == Intent.ACTION_SEND && intent.extras?.containsKey(Intent.EXTRA_STREAM) == true) {
Expand Down

0 comments on commit 9d324b4

Please sign in to comment.