encryption: Initial encrypted message sending support.

This commit is contained in:
poljar (Damir Jelić) 2018-05-11 13:03:42 +02:00
parent 8a3bda9797
commit 642e518464
5 changed files with 228 additions and 3 deletions

View file

@ -652,6 +652,11 @@ class RoomMemberJoin(RoomEvent):
# calculate room display name and set it as the buffer list name
room_name = room.display_name(server.user_id)
# A user has joined an encrypted room, we need to check for new devices
if room.encrypted:
server.device_check_timestamp = None
W.buffer_set(buff, "short_name", room_name)