Ensure message deletion marks event deleted.

This commit is contained in:
Alex Hart 2023-04-13 14:52:53 -03:00 committed by Greyson Parrelli
parent c881c67f5e
commit 3e63ac46b4

View file

@ -229,7 +229,10 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl
db db
.update(TABLE_NAME) .update(TABLE_NAME)
.values(DELETION_TIMESTAMP to System.currentTimeMillis()) .values(
EVENT to Event.serialize(Event.DELETE),
DELETION_TIMESTAMP to System.currentTimeMillis()
)
.where(where, type) .where(where, type)
.run() .run()