Fix parsing forwarded text
This commit is contained in:
parent
455588a3b1
commit
9d324b4c0a
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class NewConversationActivity : SimpleActivity() {
|
||||||
Intent(this, ThreadActivity::class.java).apply {
|
Intent(this, ThreadActivity::class.java).apply {
|
||||||
putExtra(THREAD_ID, getThreadId(numbers))
|
putExtra(THREAD_ID, getThreadId(numbers))
|
||||||
putExtra(THREAD_TITLE, name)
|
putExtra(THREAD_TITLE, name)
|
||||||
putExtra(THREAD_TEXT, body)
|
putExtra(THREAD_TEXT, body.ifEmpty { intent.getStringExtra(Intent.EXTRA_TEXT) })
|
||||||
putExtra(THREAD_NUMBER, number)
|
putExtra(THREAD_NUMBER, number)
|
||||||
|
|
||||||
if (intent.action == Intent.ACTION_SEND && intent.extras?.containsKey(Intent.EXTRA_STREAM) == true) {
|
if (intent.action == Intent.ACTION_SEND && intent.extras?.containsKey(Intent.EXTRA_STREAM) == true) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue