Skip to content

Commit 476a420

Browse files
committed
doc(widget): Note that capability renegotiation is unimplemented
1 parent 8078292 commit 476a420

File tree

1 file changed

+2
-0
lines changed
  • crates/matrix-sdk/src/widget/machine

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,8 @@ impl WidgetMachine {
713713
fn negotiate_capabilities(&mut self) -> Vec<Action> {
714714
let mut actions = Vec::new();
715715

716+
// XXX: This branch appears to be accounting for capability **re**negotiation
717+
// (MSC2974), which isn't implemented yet
716718
if matches!(&self.capabilities, CapabilitiesState::Negotiated(c) if !c.read.is_empty()) {
717719
actions.push(Action::Unsubscribe);
718720
}

0 commit comments

Comments
 (0)