mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Fix validation error with session switchover events.
This commit is contained in:
committed by
Cody Henthorne
parent
ef6e5abc17
commit
8bc183b994
@@ -1723,7 +1723,9 @@ private fun ChatUpdateMessage.isOnlyForIndividualChats(): Boolean {
|
||||
this.simpleUpdate?.type == SimpleChatUpdate.Type.END_SESSION ||
|
||||
this.simpleUpdate?.type == SimpleChatUpdate.Type.CHAT_SESSION_REFRESH ||
|
||||
this.simpleUpdate?.type == SimpleChatUpdate.Type.PAYMENT_ACTIVATION_REQUEST ||
|
||||
this.simpleUpdate?.type == SimpleChatUpdate.Type.PAYMENTS_ACTIVATED
|
||||
this.simpleUpdate?.type == SimpleChatUpdate.Type.PAYMENTS_ACTIVATED ||
|
||||
this.sessionSwitchover != null ||
|
||||
this.threadMerge != null
|
||||
}
|
||||
|
||||
private fun ChatUpdateMessage.isOnlyForGroupChats(): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user