Skip to content

Commit 966c3e4

Browse files
committed
add comments
1 parent 8d8883c commit 966c3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk/src/widget/matrix.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl MatrixDriver {
184184
let drop_guard_state = self.room.client().event_handler_drop_guard(handle_state);
185185

186186
// The receiver will get a combination of state and messgage like events.
187-
// The state events will come from the state section of the sync.
187+
// The state events will come from the state section of the sync. (to always represent current resolved state)
188188
// All state events in the timeline section of the sync will not be forwarded to
189189
// the widget.
190190
// TODO annotate the events and send both timeline and state section state events.

0 commit comments

Comments
 (0)