You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val groupRecord =SignalDatabase.groups.getGroup(threadRecipient.id).orNull()
1460
+
val targetThread =SignalDatabase.threads.getThreadRecord(targetMessage.threadId)
1461
+
if (targetThread ==null) {
1462
+
warn(envelope.timestamp!!, "[handleAdminRemoteDelete] Could not find a thread for the message! timestamp: $targetSentTimestamp author: ${targetAuthor.id}")
1463
+
returnnull
1464
+
}
1465
+
1466
+
val targetThreadRecipientId = targetThread.recipient.id
1467
+
if (targetThreadRecipientId != threadRecipient.id) {
1468
+
warn(envelope.timestamp!!, "[handleAdminRemoteDelete] Target message is in a different thread than the admin delete! timestamp: $targetSentTimestamp")
1469
+
returnnull
1470
+
}
1471
+
1472
+
val groupRecord =SignalDatabase.groups.getGroup(targetThreadRecipientId).orNull()
0 commit comments