server: Print out trust errors in the room buffer.

This commit is contained in:
Damir Jelić 2018-10-30 21:13:59 +01:00
parent c8e2e66537
commit 441acbadc7

View file

@ -1062,7 +1062,8 @@ class MatrixServer(object):
)
except OlmTrustError as e:
m = ("Untrusted devices found in room: {}".format(e))
self.error(m)
room_buffer = self.find_room_from_id(response.room_id)
room_buffer.error(m)
return
self.send(request)