fix(android): show password action only for locked channels
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user