Add feedback for when a friend request is sent

This commit is contained in:
Eliot Partridge
2019-09-08 22:31:02 -05:00
parent c4b2e47e5c
commit 2251ad6a6d
+2
View File
@@ -141,6 +141,8 @@ export class FriendsService {
pending.add(target.accountId); pending.add(target.accountId);
this.pending.set(client.accountId, pending); this.pending.set(client.accountId, pending);
client.reporter.systemLog(`Friend request [${target.accountId}]`); client.reporter.systemLog(`Friend request [${target.accountId}]`);
saySystem(client, `Friend request sent to ${getEntityName(target.pony, client)}`);
} }
private acceptInvitation(client: IClient, friend: IClient, notificationId: number) { private acceptInvitation(client: IClient, friend: IClient, notificationId: number) {
client.reporter.systemLog(`Friend request accepted by [${friend.accountId}]`); client.reporter.systemLog(`Friend request accepted by [${friend.accountId}]`);