diff --git a/src/conversations/conversations.service.ts b/src/conversations/conversations.service.ts index a50eb27..81c077d 100644 --- a/src/conversations/conversations.service.ts +++ b/src/conversations/conversations.service.ts @@ -125,7 +125,7 @@ export class ConversationsService { .populate<{ participants: UserDocument[] }>('participants', 'name'); // push to removed user if online - this.pushToUser(userId, 'groupRemoved', { roomId: conversationId }); + this.pushToUser(userId, 'groupRemoved', { conversation: updated}); return updated; }