File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
matrix-sdk-base/src/store Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -754,6 +754,7 @@ impl StateStore for MemoryStore {
754
754
inner. room_event_receipts . remove ( room_id) ;
755
755
inner. send_queue_events . remove ( room_id) ;
756
756
inner. dependent_send_queue_events . remove ( room_id) ;
757
+ inner. thread_subscriptions . remove ( room_id) ;
757
758
758
759
Ok ( ( ) )
759
760
}
Original file line number Diff line number Diff line change @@ -1766,6 +1766,13 @@ impl StateStore for SqliteStateStore {
1766
1766
this. encode_key ( keys:: DEPENDENTS_SEND_QUEUE , & room_id) ;
1767
1767
txn. remove_room_dependent_send_queue ( & dependent_send_queue_room_id) ?;
1768
1768
1769
+ let thread_subscriptions_room_id =
1770
+ this. encode_key ( keys:: THREAD_SUBSCRIPTIONS , & room_id) ;
1771
+ txn. execute (
1772
+ "DELETE FROM thread_subscriptions WHERE room_id = ?" ,
1773
+ ( thread_subscriptions_room_id, ) ,
1774
+ ) ?;
1775
+
1769
1776
Ok ( ( ) )
1770
1777
} )
1771
1778
. await ?;
You can’t perform that action at this time.
0 commit comments