File tree 1 file changed +3
-3
lines changed
crates/matrix-sdk-ui/src/timeline 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -246,9 +246,6 @@ impl TimelineBuilder {
246
246
} )
247
247
} ;
248
248
249
- // Not using room.add_event_handler here because RoomKey events are
250
- // to-device events that are not received in the context of a room.
251
-
252
249
let room_key_handle = client. add_event_handler ( handle_room_key_event (
253
250
controller. clone ( ) ,
254
251
room. room_id ( ) . to_owned ( ) ,
@@ -261,6 +258,9 @@ impl TimelineBuilder {
261
258
262
259
let handles = vec ! [ room_key_handle, forwarded_room_key_handle] ;
263
260
261
+ // Not using room.add_event_handler here because RoomKey events are
262
+ // to-device events that are not received in the context of a room.
263
+
264
264
let room_key_from_backups_join_handle = spawn ( room_keys_from_backups_task (
265
265
client. encryption ( ) . backups ( ) . room_keys_for_room_stream ( controller. room ( ) . room_id ( ) ) ,
266
266
controller. clone ( ) ,
You can’t perform that action at this time.
0 commit comments