From 808a7deae3939ead9c1556957d7ba8ae4d24285a Mon Sep 17 00:00:00 2001 From: timokoesters Date: Sun, 26 Jul 2020 22:45:10 +0200 Subject: [PATCH] cargo fmt --- src/client_server.rs | 2 +- src/push_rules.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client_server.rs b/src/client_server.rs index e6a2c23e..a3f47608 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 a1f32f4d..43afbca0 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 {