fix(android): show password action only for locked channels

This commit is contained in:
Edison Jwa
2026-05-20 14:52:34 +09:00
parent 273eaf21c1
commit f8b6485390
8 changed files with 38 additions and 11 deletions
+3
View File
@@ -355,6 +355,8 @@ pub struct BridgeChannel {
pub name: String,
/// Server-side ordering hint.
pub order: i64,
/// True when the server marks the channel as password-protected.
pub has_password: bool,
}
/// Client as seen by Dart.
@@ -406,6 +408,7 @@ impl From<chanora_protocol::ServerSnapshot> for BridgeSnapshot {
parent: c.parent.0,
name: c.name,
order: c.order,
has_password: c.has_password,
})
.collect(),
clients: s