Commit 54ad182e94

54ad182e948a962a7ac8a8c1797dafca814ff47b

parent: 0f69fddeb3

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-07-10 12:48 UTC
committer: <strk@kbt.io>

fix: narrow verification status refreshes

Layout: unified · split

src/room/mod.rs +6 −8
@@ -417,10 +417,6 @@ impl BufferInputCallbackAsync for MatrixRoom {
417} 417}
418 418
419impl MatrixRoom { 419impl MatrixRoom {
420 fn update_status_bar(&self) {
421 Weechat::bar_item_update("buffer_modes");
422 }
423
424 pub fn is_encrypted(&self) -> bool { 420 pub fn is_encrypted(&self) -> bool {
425 self.members 421 self.members
426 .runtime 422 .runtime
@@ -1096,7 +1092,7 @@ impl MatrixRoom {
1096 ) 1092 )
1097 .await; 1093 .await;
1098 1094
1099 self.update_status_bar(); 1095 Weechat::bar_item_update("buffer_modes");
1100 } 1096 }
1101 1097
1102 fn set_prev_batch(&self) { 1098 fn set_prev_batch(&self) {
@@ -1182,9 +1178,11 @@ impl MatrixRoom {
1182 AnySyncStateEvent::SpaceParent(_) => { 1178 AnySyncStateEvent::SpaceParent(_) => {
1183 self.buffer.update_parent_spaces() 1179 self.buffer.update_parent_spaces()
1184 } 1180 }
1185 _ => (), 1181 AnySyncStateEvent::RoomEncryption(_)
1182 | AnySyncStateEvent::RoomJoinRules(_) => {
1183 Weechat::bar_item_update("buffer_modes");
1184 }
1185 _ => {}
1186 } 1186 }
1187
1188 self.update_status_bar();
1189 } 1187 }
1190} 1188}