diff --git a/src/client_server.rs b/src/client_server.rs index e6a2c23..a3f4760 100644 --- a/src/client_server.rs +++ b/src/client_server.rs @@ -1343,7 +1343,7 @@ pub fn create_room_route( { // Silently skip encryption events if they are not allowed if event_type == &EventType::RoomEncryption && db.globals.encryption_disabled() { - continue + continue; } db.rooms.append_pdu( diff --git a/src/push_rules.rs b/src/push_rules.rs index a1f32f4..43afbca 100644 --- a/src/push_rules.rs +++ b/src/push_rules.rs @@ -1,10 +1,10 @@ use js_int::uint; use ruma::{ - UserId, push::{ Action, ConditionalPushRule, ConditionalPushRuleInit, PatternedPushRule, PatternedPushRuleInit, PushCondition, RoomMemberCountIs, Ruleset, Tweak, }, + UserId, }; pub fn default_pushrules(user_id: &UserId) -> Ruleset {