server: Enable sending state events to encrypted rooms.
State events are not encrypted so sending them is done as usually.
This commit is contained in:
parent
6836365bc7
commit
f05d2f0a2b
1 changed files with 0 additions and 3 deletions
|
@ -803,9 +803,6 @@ class MatrixServer(object):
|
||||||
self.send_or_queue(request)
|
self.send_or_queue(request)
|
||||||
|
|
||||||
def room_send_state(self, room_buffer, body, event_type):
|
def room_send_state(self, room_buffer, body, event_type):
|
||||||
if room_buffer.room.encrypted:
|
|
||||||
return
|
|
||||||
|
|
||||||
_, request = self.client.room_put_state(
|
_, request = self.client.room_put_state(
|
||||||
room_buffer.room.room_id, event_type, body
|
room_buffer.room.room_id, event_type, body
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue