Update call event state after revoking a call link.

This commit is contained in:
Alex Hart 2024-01-19 14:32:00 -04:00 committed by Greyson Parrelli
parent 8b5498cfbd
commit d17f12dd76

View file

@ -142,6 +142,10 @@ class CallLinkTable(context: Context, databaseHelper: SignalDatabase) : Database
.readToSingleLong()
.let { RecipientId.from(it) }
if (state.revoked) {
SignalDatabase.calls.updateAdHocCallEventDeletionTimestamps()
}
Recipient.live(recipientId).refresh()
ApplicationDependencies.getDatabaseObserver().notifyCallLinkObservers(roomId)
ApplicationDependencies.getDatabaseObserver().notifyCallUpdateObservers()