mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Update call event state after revoking a call link.
This commit is contained in:
committed by
Greyson Parrelli
parent
8b5498cfbd
commit
d17f12dd76
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user