relax state visibility for invited modes
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
411c60009d
commit
e257512aa7
1 changed files with 5 additions and 1 deletions
|
@ -287,7 +287,11 @@ impl Service {
|
|||
c.history_visibility
|
||||
});
|
||||
|
||||
history_visibility == HistoryVisibility::WorldReadable
|
||||
match history_visibility {
|
||||
HistoryVisibility::Invited => self.services.state_cache.is_invited(user_id, room_id).await,
|
||||
HistoryVisibility::WorldReadable => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the state hash for this pdu.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue