Commit 8ef3b10d authored by JC Brand's avatar JC Brand

Don't hide chats when `singleton` is true

parent 6d975264
......@@ -304,7 +304,7 @@ converse.plugins.add('converse-chat', {
return {
'bookmarked': false,
'chat_state': undefined,
'hidden': _converse.isUniView(),
'hidden': _converse.isUniView() && !api.settings.get('singleton'),
'message_type': 'chat',
'nickname': undefined,
'num_unread': 0,
......
......@@ -370,7 +370,7 @@ converse.plugins.add('converse-muc', {
'num_unread_general': 0,
'bookmarked': false,
'chat_state': undefined,
'hidden': _converse.isUniView(),
'hidden': _converse.isUniView() && !api.settings.get('singleton'),
'message_type': 'groupchat',
'name': '',
'num_unread': 0,
......
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