fix: Default to Shared history visibility for s2s permissions, per spec
This commit is contained in:
parent
d47e1761ec
commit
5ae551b101
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ impl Service {
|
|||
.state_get_content(shortstatehash, &StateEventType::RoomHistoryVisibility, "")?
|
||||
.map(|content| match content.get("history_visibility") {
|
||||
Some(visibility) => HistoryVisibility::from(visibility.as_str().unwrap_or("")),
|
||||
None => HistoryVisibility::Invited,
|
||||
None => HistoryVisibility::Shared,
|
||||
});
|
||||
|
||||
let visibility = match history_visibility {
|
||||
|
|
Loading…
Reference in a new issue