MUC: Show info message that we joined the room

This commit is contained in:
Philipp Hörist 2018-10-05 23:58:17 +02:00
parent fc5e2d3a75
commit ae629d821a
1 changed files with 3 additions and 0 deletions

View File

@ -1853,6 +1853,9 @@ class GroupchatControl(ChatControlBase):
if obj.status_code and obj.nick == self.nick: if obj.status_code and obj.nick == self.nick:
if '110' in obj.status_code: if '110' in obj.status_code:
# We just join the room # We just join the room
self.print_conversation(
_('You (%s) joined the room') % self.nick,
'info', graphics=False)
if self.room_jid in app.automatic_rooms[self.account] and \ if self.room_jid in app.automatic_rooms[self.account] and \
app.automatic_rooms[self.account][self.room_jid]['invities']: app.automatic_rooms[self.account][self.room_jid]['invities']:
if self.room_jid not in app.interface.instances[ if self.room_jid not in app.interface.instances[