Commit d385452a authored by JC Brand's avatar JC Brand

Use `_converse.getDefaultMUCNickname`

parent 599f7596
......@@ -195,7 +195,7 @@ converse.plugins.add('converse-muc', {
'hidden': ['mobile', 'fullscreen'].includes(_converse.view_mode),
'message_type': 'groupchat',
'name': '',
'nick': _converse.xmppstatus.get('nickname') || _converse.nickname,
'nick': _converse.getDefaultMUCNickname(),
'num_unread': 0,
'roomconfig': {},
'time_opened': this.get('time_opened') || (new Date()).getTime(),
......
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