server: Print out trust errors in the room buffer.
This commit is contained in:
parent
c8e2e66537
commit
441acbadc7
1 changed files with 2 additions and 1 deletions
|
@ -1062,7 +1062,8 @@ class MatrixServer(object):
|
||||||
)
|
)
|
||||||
except OlmTrustError as e:
|
except OlmTrustError as e:
|
||||||
m = ("Untrusted devices found in room: {}".format(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
|
return
|
||||||
|
|
||||||
self.send(request)
|
self.send(request)
|
||||||
|
|
Loading…
Add table
Reference in a new issue