diff --git a/src/whatsapp/collections/CallCollection.ts b/src/whatsapp/collections/CallCollection.ts index c1c0fc5528..994e4f37c0 100644 --- a/src/whatsapp/collections/CallCollection.ts +++ b/src/whatsapp/collections/CallCollection.ts @@ -33,6 +33,6 @@ export declare class CallCollection extends Collection { } exportModule( exports, - { CallCollection: 'CallCollectionImpl' }, - (m) => m.CallCollectionImpl + { CallCollection: ['CallCollectionImpl', 'default.constructor'] }, + (m) => m.CallCollectionImpl || m.default.processIncomingCall );