server: Highlight room invitation messages.
This commit is contained in:
parent
c3b3567e61
commit
53f1edf63a
1 changed files with 4 additions and 2 deletions
|
@ -1234,7 +1234,7 @@ class MatrixServer(object):
|
||||||
else:
|
else:
|
||||||
inviter_msg = ""
|
inviter_msg = ""
|
||||||
|
|
||||||
self.info(
|
self.info_highlight(
|
||||||
"You have been invited to {} {}({}{}{}){}"
|
"You have been invited to {} {}({}{}{}){}"
|
||||||
"{}".format(
|
"{}".format(
|
||||||
room.display_name,
|
room.display_name,
|
||||||
|
@ -1247,7 +1247,9 @@ class MatrixServer(object):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
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():
|
for room_id, info in response.rooms.leave.items():
|
||||||
if room_id not in self.buffers:
|
if room_id not in self.buffers:
|
||||||
|
|
Loading…
Reference in a new issue