Update call event state after revoking a call link.
This commit is contained in:
parent
8b5498cfbd
commit
d17f12dd76
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue