improvement: better deploy guide
This commit is contained in:
parent
d7e56dbfa0
commit
b4818716b8
7 changed files with 131 additions and 71 deletions
|
@ -786,8 +786,8 @@ impl Rooms {
|
|||
#[allow(clippy::blocks_in_if_conditions)]
|
||||
if !match event_type {
|
||||
EventType::RoomEncryption => {
|
||||
// Don't allow encryption events when it's disabled
|
||||
!globals.encryption_disabled()
|
||||
// Only allow encryption events if it's allowed in the config
|
||||
globals.allow_encryption()
|
||||
}
|
||||
EventType::RoomMember => {
|
||||
let prev_event = self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue