cargo fmt

This commit is contained in:
timokoesters 2020-07-26 22:45:10 +02:00
parent dc5fb7e33a
commit 808a7deae3
No known key found for this signature in database
GPG Key ID: 24DA7517711A2BA4
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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 {