Fix user icon in Discord when using --friend-nsaid and show current revision in Discord

This commit is contained in:
Samuel Elliott
2022-04-22 19:37:17 +01:00
parent 78e50d7cc0
commit 0b567e3d3f
3 changed files with 21 additions and 7 deletions

View File

@@ -232,7 +232,7 @@ export class ZncDiscordPresence extends ZncNotifications {
throw new Error('User "' + this.presence_user + '" is not friends with this user');
}
await this.updatePresenceForDiscord(friend.presence, user);
await this.updatePresenceForDiscord(friend.presence, friend);
} else {
await this.updatePresenceForDiscord(user!.presence, user, user!.links.friendCode, activeevent);
}