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()
|
.readToSingleLong()
|
||||||
.let { RecipientId.from(it) }
|
.let { RecipientId.from(it) }
|
||||||
|
|
||||||
|
if (state.revoked) {
|
||||||
|
SignalDatabase.calls.updateAdHocCallEventDeletionTimestamps()
|
||||||
|
}
|
||||||
|
|
||||||
Recipient.live(recipientId).refresh()
|
Recipient.live(recipientId).refresh()
|
||||||
ApplicationDependencies.getDatabaseObserver().notifyCallLinkObservers(roomId)
|
ApplicationDependencies.getDatabaseObserver().notifyCallLinkObservers(roomId)
|
||||||
ApplicationDependencies.getDatabaseObserver().notifyCallUpdateObservers()
|
ApplicationDependencies.getDatabaseObserver().notifyCallUpdateObservers()
|
||||||
|
|
Loading…
Add table
Reference in a new issue