mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Merge pull request #97 from BytewaveMLP/friend-request-message
Add feedback for when a friend request is sent
This commit is contained in:
@@ -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}]`);
|
||||||
|
|||||||
Reference in New Issue
Block a user