Dont show MUC subject on rejoin

- We only show it, if it changed
This commit is contained in:
Philipp Hörist 2018-10-05 23:21:50 +02:00
parent 8bab5d1adc
commit ec839cc1d4
1 changed files with 3 additions and 0 deletions

View File

@ -1535,6 +1535,9 @@ class GroupchatControl(ChatControlBase):
return
if event.jid != self.room_jid:
return
if self.subject == event.subject:
# Probably a rejoin, we already showed that subject
return
self.set_subject(event.subject)
text = _('%(nick)s has set the subject to %(subject)s') % {
'nick': event.nickname, 'subject': event.subject}