Commit 690ff1fb authored by JC Brand's avatar JC Brand

Fixes #1860

parent 63b1886f
...@@ -214,7 +214,7 @@ converse.plugins.add('converse-bookmarks', { ...@@ -214,7 +214,7 @@ converse.plugins.add('converse-bookmarks', {
'jid': jid, 'jid': jid,
'name': bookmark.getAttribute('name') || jid, 'name': bookmark.getAttribute('name') || jid,
'autojoin': bookmark.getAttribute('autojoin') === 'true', 'autojoin': bookmark.getAttribute('autojoin') === 'true',
'nick': bookmark.querySelector('nick')?.textContent 'nick': bookmark.querySelector('nick')?.textContent || ''
}); });
}); });
}, },
......
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