From 602edfd8499726e21b51eaa4a4a8927381c876c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timo=20K=C3=B6sters?= <timo@koesters.xyz>
Date: Sun, 24 Jan 2021 16:05:52 +0100
Subject: [PATCH] feature: push rule settings

---
 src/client_server/room.rs | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/client_server/room.rs b/src/client_server/room.rs
index 631d87bad..4adc33540 100644
--- a/src/client_server/room.rs
+++ b/src/client_server/room.rs
@@ -220,12 +220,8 @@ pub async fn create_room_route(
             continue;
         }
 
-        db.rooms.build_and_append_pdu(
-            pdu_builder,
-            &sender_user,
-            &room_id,
-            &db,
-        )?;
+        db.rooms
+            .build_and_append_pdu(pdu_builder, &sender_user, &room_id, &db)?;
     }
 
     // 6. Events implied by name and topic
-- 
GitLab