File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -97,11 +97,13 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
97
97
}
98
98
break ;
99
99
}
100
+
100
101
case "MatrixActions.Room.tags" : {
101
102
const room = payload . room ;
102
103
this . addRoomAndEmit ( room ) ;
103
104
break ;
104
105
}
106
+
105
107
case "MatrixActions.Event.decrypted" : {
106
108
const roomId = payload . event . getRoomId ( ) ;
107
109
if ( ! roomId ) return ;
@@ -113,6 +115,7 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
113
115
this . addRoomAndEmit ( room ) ;
114
116
break ;
115
117
}
118
+
116
119
case "MatrixActions.accountData" : {
117
120
if ( payload . event_type !== EventType . Direct ) return ;
118
121
const dmMap = payload . event . getContent ( ) ;
@@ -129,6 +132,7 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
129
132
}
130
133
break ;
131
134
}
135
+
132
136
case "MatrixActions.Room.timeline" : {
133
137
// Ignore non-live events (backfill) and notification timeline set events (without a room)
134
138
if ( ! payload . isLiveEvent || ! payload . isLiveUnfilteredRoomTimelineEvent || ! payload . room ) return ;
@@ -142,6 +146,7 @@ export class RoomListStoreV3Class extends AsyncStoreWithClient<EmptyObject> {
142
146
if ( ! tryAdd ( ) ) setTimeout ( tryAdd , 100 ) ;
143
147
break ;
144
148
}
149
+
145
150
case "MatrixActions.Room.myMembership" : {
146
151
const oldMembership = getEffectiveMembership ( payload . oldMembership ) ;
147
152
const newMembership = getEffectiveMembershipTag ( payload . room , payload . membership ) ;
You can’t perform that action at this time.
0 commit comments