Skip to content

Commit

Permalink
Show player name on reject
Browse files Browse the repository at this point in the history
Fixes #399
  • Loading branch information
anoek committed May 24, 2023
1 parent 0d3c2fd commit 51ffa39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ class Main {
this.deleteNotification(notification);
});
} else {
trace.info(
`Rejecting challenge from ${notification.user.username} https://online-go.com/player/${notification.user.id}/anoek`,
reject,
);
post(api1(`me/challenges/${notification.challenge_id}`), {
delete: true,
message: reject.message,
Expand Down

0 comments on commit 51ffa39

Please sign in to comment.