File tree 1 file changed +3
-3
lines changed
crates/matrix-sdk/src/event_cache
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ impl RoomEventCacheInner {
475
475
for raw_event in account_data {
476
476
match raw_event. deserialize ( ) {
477
477
Ok ( AnyRoomAccountDataEvent :: FullyRead ( ev) ) => {
478
- // Propagate to observers. We ignore the fact there aren't any.
478
+ // Propagate to observers. ( We ignore the error if there aren't any.)
479
479
let _ = self . sender . send ( RoomEventCacheUpdate :: UpdateReadMarker {
480
480
event_id : ev. content . event_id ,
481
481
} ) ;
@@ -528,7 +528,7 @@ impl RoomEventCacheInner {
528
528
// Clear internal state (events, pagination tokens, etc.).
529
529
store. clear_room ( self . room . room_id ( ) ) . await ?;
530
530
531
- // Propagate to observers. We ignore the fact there aren't any.
531
+ // Propagate to observers. ( We ignore the error if there aren't any.)
532
532
let _ = self . sender . send ( RoomEventCacheUpdate :: Clear ) ;
533
533
}
534
534
@@ -745,7 +745,7 @@ pub enum RoomEventCacheUpdate {
745
745
746
746
/// The fully read marker has moved to a different event.
747
747
UpdateReadMarker {
748
- /// Event at which the read marker has been moved .
748
+ /// Event at which the read marker is now pointing .
749
749
event_id : OwnedEventId ,
750
750
} ,
751
751
You can’t perform that action at this time.
0 commit comments