returned updated conversation for remove participant
This commit is contained in:
parent
cb17875d16
commit
ccfc938a65
@ -125,7 +125,7 @@ export class ConversationsService {
|
|||||||
.populate<{ participants: UserDocument[] }>('participants', 'name');
|
.populate<{ participants: UserDocument[] }>('participants', 'name');
|
||||||
|
|
||||||
// push to removed user if online
|
// push to removed user if online
|
||||||
this.pushToUser(userId, 'groupRemoved', { roomId: conversationId });
|
this.pushToUser(userId, 'groupRemoved', { conversation: updated});
|
||||||
|
|
||||||
return updated;
|
return updated;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user