From f05d2f0a2b87c94f584bc2d547e5b84b388f9998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 27 Jun 2019 17:32:39 +0200 Subject: [PATCH] server: Enable sending state events to encrypted rooms. State events are not encrypted so sending them is done as usually. --- matrix/server.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/matrix/server.py b/matrix/server.py index 16fd9c5..7c4a7c3 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -803,9 +803,6 @@ class MatrixServer(object): self.send_or_queue(request) def room_send_state(self, room_buffer, body, event_type): - if room_buffer.room.encrypted: - return - _, request = self.client.room_put_state( room_buffer.room.room_id, event_type, body )