mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 08:23:47 +00:00
Merge remote-tracking branch 'upstream/master' into closed_groups
This commit is contained in:
@@ -31,8 +31,8 @@ configurations.all {
|
|||||||
exclude module: "commons-logging"
|
exclude module: "commons-logging"
|
||||||
}
|
}
|
||||||
|
|
||||||
def canonicalVersionCode = 354
|
def canonicalVersionCode = 355
|
||||||
def canonicalVersionName = "1.17.0"
|
def canonicalVersionName = "1.17.1"
|
||||||
|
|
||||||
def postFixSize = 10
|
def postFixSize = 10
|
||||||
def abiPostFix = ['armeabi-v7a' : 1,
|
def abiPostFix = ['armeabi-v7a' : 1,
|
||||||
|
@@ -1622,7 +1622,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()
|
||||||
|
@@ -36,15 +36,6 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
<include layout="@layout/view_voice_message"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:id="@+id/voiceMessageView"
|
|
||||||
android:layout_width="160dp"
|
|
||||||
android:layout_height="36dp"/>
|
|
||||||
|
|
||||||
<include layout="@layout/view_open_group_invitation"
|
<include layout="@layout/view_open_group_invitation"
|
||||||
tools:visibility="gone"
|
tools:visibility="gone"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
@@ -75,6 +66,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"/>
|
||||||
|
|
||||||
|
<include layout="@layout/view_voice_message"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/quoteView"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
android:visibility="gone"
|
||||||
|
android:id="@+id/voiceMessageView"
|
||||||
|
android:layout_width="160dp"
|
||||||
|
android:layout_height="36dp"/>
|
||||||
|
|
||||||
<include layout="@layout/view_link_preview"
|
<include layout="@layout/view_link_preview"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/quoteView"
|
app:layout_constraintTop_toBottomOf="@+id/quoteView"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
Reference in New Issue
Block a user