Dont show MUC subject on rejoin
- We only show it, if it changed
This commit is contained in:
parent
8bab5d1adc
commit
ec839cc1d4
|
@ -1535,6 +1535,9 @@ class GroupchatControl(ChatControlBase):
|
||||||
return
|
return
|
||||||
if event.jid != self.room_jid:
|
if event.jid != self.room_jid:
|
||||||
return
|
return
|
||||||
|
if self.subject == event.subject:
|
||||||
|
# Probably a rejoin, we already showed that subject
|
||||||
|
return
|
||||||
self.set_subject(event.subject)
|
self.set_subject(event.subject)
|
||||||
text = _('%(nick)s has set the subject to %(subject)s') % {
|
text = _('%(nick)s has set the subject to %(subject)s') % {
|
||||||
'nick': event.nickname, 'subject': event.subject}
|
'nick': event.nickname, 'subject': event.subject}
|
||||||
|
|
Loading…
Reference in New Issue