Remove unused method
This commit is contained in:
parent
f05a41f6a5
commit
4aab83c4af
@ -14,7 +14,7 @@ import { _converse, api } from '@converse/headless/core';
|
|||||||
export default class ChatView extends BaseChatView {
|
export default class ChatView extends BaseChatView {
|
||||||
length = 200
|
length = 200
|
||||||
|
|
||||||
async initialize() {
|
async initialize () {
|
||||||
_converse.chatboxviews.add(this.jid, this);
|
_converse.chatboxviews.add(this.jid, this);
|
||||||
this.model = _converse.chatboxes.get(this.jid);
|
this.model = _converse.chatboxes.get(this.jid);
|
||||||
this.listenTo(_converse, 'windowStateChanged', this.onWindowStateChanged);
|
this.listenTo(_converse, 'windowStateChanged', this.onWindowStateChanged);
|
||||||
@ -49,11 +49,6 @@ export default class ChatView extends BaseChatView {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
showControlBox () { // eslint-disable-line class-methods-use-this
|
|
||||||
// Used in mobile view, to navigate back to the controlbox
|
|
||||||
_converse.chatboxviews.get('controlbox')?.show();
|
|
||||||
}
|
|
||||||
|
|
||||||
afterShown () {
|
afterShown () {
|
||||||
this.model.setChatState(_converse.ACTIVE);
|
this.model.setChatState(_converse.ACTIVE);
|
||||||
this.model.clearUnreadMsgCounter();
|
this.model.clearUnreadMsgCounter();
|
||||||
|
Loading…
Reference in New Issue
Block a user