Commit eef483cb authored by lduburas's avatar lduburas Committed by JC Brand

Fix regarding ChatRoomView.getDefaultNickName() and muc_nickname_from_jid (#911)

* ChatRoomView.getDefaultNickName() when muc_nickname_from_jid  is used

Allows to overridde nickname by plugins when muc_nickname_from_jid is used.

* CHANGES.md updated
parent 979d4869
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
### Bugfixes ### Bugfixes
- Various IE11 fixes. - Various IE11 fixes.
- Translations written as template literals [aren't parsed properly by xgettext](https://savannah.gnu.org/bugs/?50920). - Translations written as template literals [aren't parsed properly by xgettext](https://savannah.gnu.org/bugs/?50920).
- Fix regarding ChatRoomView.getDefaultNickName() and muc_nickname_from_jid
## 3.2.0 (2017-08-09) ## 3.2.0 (2017-08-09)
......
...@@ -1571,7 +1571,7 @@ ...@@ -1571,7 +1571,7 @@
if (_converse.muc_nickname_from_jid) { if (_converse.muc_nickname_from_jid) {
// We try to enter the room with the node part of // We try to enter the room with the node part of
// the user's JID. // the user's JID.
this.join(Strophe.unescapeNode(Strophe.getNodeFromJid(_converse.bare_jid))); this.join(this.getDefaultNickName());
} else { } else {
this.renderNicknameForm(message); this.renderNicknameForm(message);
} }
......
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