mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix GSE crash when attempting to send to non-GV2 groups.
This commit is contained in:
committed by
Greyson Parrelli
parent
d6f8f8acb3
commit
c12d577e8b
@@ -988,7 +988,7 @@ class GroupTable(context: Context?, databaseHelper: SignalDatabase?) : DatabaseT
|
||||
|
||||
fun getGroupSendFullToken(threadId: Long, recipientId: RecipientId): GroupSendFullToken? {
|
||||
val threadRecipient = SignalDatabase.threads.getRecipientForThreadId(threadId)
|
||||
if (threadRecipient == null || !threadRecipient.isGroup) {
|
||||
if (threadRecipient == null || !threadRecipient.isPushV2Group) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user