mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-09-23 10:24:08 +00:00
Some checks failed
Flutter analyze & test / flutter_analyze_and_test (push) Has been cancelled
10 lines
562 B
SQL
10 lines
562 B
SQL
-- Records that a claimed message never decrypted.
|
|
--
|
|
-- The claim is committed before the message is handled, so a redelivery is not
|
|
-- processed twice. Without this column a claim left behind by a failed
|
|
-- decryption looks exactly like one left by a message that was handled, and the
|
|
-- redelivery is dropped -- which is how a peer whose session broke could never
|
|
-- reach the decrypt path again, and so never trigger the session reset that
|
|
-- would have repaired it.
|
|
ALTER TABLE received_receipts
|
|
ADD COLUMN decryption_failed INTEGER NOT NULL DEFAULT 0;
|