Browse Source

Don't remove the minimized chats element upon logout

JC Brand 7 years ago
parent
commit
5e320d031d
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/converse-minimize.js

+ 0 - 6
src/converse-minimize.js

@@ -536,7 +536,6 @@
                 const new_html = tpl_chatbox_minimize(
                     {info_minimize: __('Minimize this chat box')}
                 );
-
                 const el = view.el.querySelector('.toggle-chatbox-button');
                 if (el) {
                     el.outerHTML = new_html;
@@ -553,11 +552,6 @@
                     _converse.chatboxviews.trimChats(chatbox);
                 }
             });
-
-            const logOut = function () {
-                _converse.minimized_chats.remove();
-            };
-            _converse.on('logout', logOut);
         }
     });
 }));