Skip to content

Commit

Permalink
Ensure message deletion marks event deleted.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-signal authored and greyson-signal committed Apr 13, 2023
1 parent c881c67 commit 3e63ac4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ class CallTable(context: Context, databaseHelper: SignalDatabase) : DatabaseTabl

db
.update(TABLE_NAME)
.values(DELETION_TIMESTAMP to System.currentTimeMillis())
.values(
EVENT to Event.serialize(Event.DELETE),
DELETION_TIMESTAMP to System.currentTimeMillis()
)
.where(where, type)
.run()

Expand Down

0 comments on commit 3e63ac4

Please sign in to comment.