mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 18:45:19 +00:00
Make reply safer
This commit is contained in:
parent
9a84f6c67b
commit
452db6dfa3
@ -1982,7 +1982,7 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
||||
|
||||
override fun reply(messages: Set<MessageRecord>) {
|
||||
val recipient = viewModel.recipient ?: return
|
||||
binding?.inputBar?.draftQuote(recipient, messages.first(), glide)
|
||||
messages.firstOrNull()?.let { binding?.inputBar?.draftQuote(recipient, it, glide) }
|
||||
endActionMode()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user