Fix broken import

This commit is contained in:
JC Brand 2021-09-08 10:52:37 +02:00
parent 8d01d7a710
commit 8aa16ea0be

View File

@ -26,7 +26,6 @@ import {
onStatusInitialized, onStatusInitialized,
onWindowStateChanged, onWindowStateChanged,
registerDirectInvitationHandler, registerDirectInvitationHandler,
registerPEPPushHandler,
routeToRoom, routeToRoom,
} from './utils.js'; } from './utils.js';
import { computeAffiliationsDelta } from './affiliations/utils.js'; import { computeAffiliationsDelta } from './affiliations/utils.js';
@ -289,8 +288,6 @@ converse.plugins.add('converse-muc', {
api.listen.on('beforeResourceBinding', onBeforeResourceBinding); api.listen.on('beforeResourceBinding', onBeforeResourceBinding);
api.listen.on('beforeTearDown', onBeforeTearDown); api.listen.on('beforeTearDown', onBeforeTearDown);
api.listen.on('chatBoxesFetched', autoJoinRooms); api.listen.on('chatBoxesFetched', autoJoinRooms);
api.listen.on('connected', registerPEPPushHandler);
api.listen.on('reconnected', registerPEPPushHandler);
api.listen.on('disconnected', disconnectChatRooms); api.listen.on('disconnected', disconnectChatRooms);
api.listen.on('statusInitialized', onStatusInitialized); api.listen.on('statusInitialized', onStatusInitialized);
api.listen.on('windowStateChanged', onWindowStateChanged); api.listen.on('windowStateChanged', onWindowStateChanged);