1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Remove a TODO

This commit is contained in:
Pierre HUBERT 2020-03-28 13:56:22 +01:00
parent 82c5c2845a
commit 77382eaca4

View File

@ -152,7 +152,9 @@ export class FriendsController {
await FriendsHelper.RespondRequest(h.getUserId(), friendID, accept); await FriendsHelper.RespondRequest(h.getUserId(), friendID, accept);
// TODO : create notification // Create notification
await NotificationsUtils.CreateFriendsNotifications(h.getUserId(), friendID,
accept ? NotifEventType.ACCEPTED_FRIEND_REQUEST : NotifEventType.REJECTED_FRIEND_REQUEST);
h.success("Response to the friendship request successfully saved!"); h.success("Response to the friendship request successfully saved!");
} }