Remove overrides of renderLoginPanel

which has also been removed earlier
This commit is contained in:
JC Brand 2021-01-25 15:10:45 +01:00
parent be9016a081
commit e64798208f
3 changed files with 0 additions and 8 deletions

View File

@ -101,7 +101,6 @@ converse.plugins.add('converse-controlbox', {
api.listen.on('chatBoxesFetched', onChatBoxesFetched);
api.listen.on('cleanup', () => delete _converse.controlboxtoggle);
api.listen.on('clearSession', clearSession);
api.listen.on('disconnected', () => disconnect().renderLoginPanel());
api.listen.on('will-reconnect', disconnect);
api.waitUntil('chatBoxViewsInitialized')

View File

@ -46,12 +46,6 @@ converse.plugins.add('converse-dragresize', {
},
ControlBoxView: {
renderLoginPanel () {
const result = this.__super__.renderLoginPanel.apply(this, arguments);
this.initDragResize().setDimensions();
return result;
},
renderControlBoxPane () {
const result = this.__super__.renderControlBoxPane.apply(this, arguments);
this.initDragResize().setDimensions();

View File

@ -282,7 +282,6 @@ class RegisterPanel extends ElementView {
);
this.giveFeedback(__('Now logging you in'), 'info');
} else {
_converse.chatboxviews.get('controlbox').renderLoginPanel();
_converse.giveFeedback(__('Registered successfully'));
}
this.reset();