From 53f1edf63ae9f966530fe9049884a10f6599cd94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 7 May 2019 22:32:45 +0200 Subject: [PATCH] server: Highlight room invitation messages. --- matrix/server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/matrix/server.py b/matrix/server.py index 9d766ae..4ad8e5d 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -1234,7 +1234,7 @@ class MatrixServer(object): else: inviter_msg = "" - self.info( + self.info_highlight( "You have been invited to {} {}({}{}{}){}" "{}".format( room.display_name, @@ -1247,7 +1247,9 @@ class MatrixServer(object): ) ) else: - self.info("You have been invited to {}.".format(room_id)) + self.info_highlight("You have been invited to {}.".format( + room_id + )) for room_id, info in response.rooms.leave.items(): if room_id not in self.buffers: