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 {
754754 inner. room_event_receipts . remove ( room_id) ;
755755 inner. send_queue_events . remove ( room_id) ;
756756 inner. dependent_send_queue_events . remove ( room_id) ;
757+ inner. thread_subscriptions . remove ( room_id) ;
757758
758759 Ok ( ( ) )
759760 }
Original file line number Diff line number Diff line change @@ -1766,6 +1766,13 @@ impl StateStore for SqliteStateStore {
17661766 this. encode_key ( keys:: DEPENDENTS_SEND_QUEUE , & room_id) ;
17671767 txn. remove_room_dependent_send_queue ( & dependent_send_queue_room_id) ?;
17681768
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+
17691776 Ok ( ( ) )
17701777 } )
17711778 . await ?;
You can’t perform that action at this time.
0 commit comments