mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix group updates from others showing before messages made before the update.
This commit is contained in:
committed by
Michelle Tang
parent
611b52780e
commit
dd396eb75a
@@ -279,7 +279,7 @@ open class MessageContentProcessor(private val context: Context) {
|
||||
): GroupUpdateResult? {
|
||||
return try {
|
||||
val signedGroupChange: ByteArray? = if (groupV2.hasSignedGroupChange) groupV2.signedGroupChange else null
|
||||
val updatedTimestamp = if (signedGroupChange != null) timestamp else timestamp - 1
|
||||
val updatedTimestamp = if (signedGroupChange != null) timestamp else timestamp + 1
|
||||
if (groupV2.revision != null) {
|
||||
GroupManager.updateGroupFromServer(context, groupV2.groupMasterKey, localRecord, groupSecretParams, groupV2.revision!!, updatedTimestamp, signedGroupChange, serverGuid)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user