Philipp Hörist pushed to branch master at gajim / gajim
Commits:
cb97b189 by Philipp Hörist at 2019-08-05T11:40:06Z
MUC: Change nick only on self presence
- - - - -
1 changed file:
- gajim/common/modules/muc.py
Changes:
=====================================
gajim/common/modules/muc.py
=====================================
@@ -371,13 +371,14 @@ class MUC(BaseModule):
properties.muc_nickname)
if properties.is_nickname_changed:
+ if properties.is_muc_self_presence:
+ muc_data.nick = properties.muc_user.nick
app.contacts.remove_gc_contact(self._account, contact)
contact.name = properties.muc_user.nick
app.contacts.add_gc_contact(self._account, contact)
self._log.info('Nickname changed: %s to %s',
properties.jid,
properties.muc_user.nick)
- muc_data.nick = properties.muc_user.nick
self._raise_muc_event('muc-nickname-changed', properties)
return
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/cb97b189996bd1a6f29249f9e21af6f44fc4b0ed
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/cb97b189996bd1a6f29249f9e21af6f44fc4b0ed
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits