Commit 1e933c26 authored by Philipp Hörist's avatar Philipp Hörist

Dont show MUC subject on rejoin

- We only show it, if it changed
parent e8c5ad64
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment