mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Enable reply with attachment
This commit is contained in:
parent
1bb3939930
commit
47d1c657f3
@ -1606,7 +1606,12 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
return Pair(recipient.address, sentTimestamp)
|
return Pair(recipient.address, sentTimestamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun sendAttachments(attachments: List<Attachment>, body: String?, quotedMessage: MessageRecord? = null, linkPreview: LinkPreview? = null): Pair<Address, Long>? {
|
private fun sendAttachments(
|
||||||
|
attachments: List<Attachment>,
|
||||||
|
body: String?,
|
||||||
|
quotedMessage: MessageRecord? = binding?.inputBar?.quote,
|
||||||
|
linkPreview: LinkPreview? = null
|
||||||
|
): Pair<Address, Long>? {
|
||||||
val recipient = viewModel.recipient ?: return null
|
val recipient = viewModel.recipient ?: return null
|
||||||
val sentTimestamp = SnodeAPI.nowWithOffset
|
val sentTimestamp = SnodeAPI.nowWithOffset
|
||||||
processMessageRequestApproval()
|
processMessageRequestApproval()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user