From 4cb902d3f41471a5ce1265fd13e4d4713f4df697 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Sun, 13 Mar 2022 20:00:45 +1300 Subject: [PATCH] Fix friend notification in friend log --- html/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/src/app.js b/html/src/app.js index 9ef9c8e6..00aa2d90 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -10577,7 +10577,7 @@ speechSynthesis.getVoices(); API.getFriendStatus({ userId: id }).then((args) => { - if (args.json.isFriend && this.friendLog.has(id)) { + if (args.json.isFriend && !this.friendLog.has(id)) { var friendLogHistory = { created_at: new Date().toJSON(), type: 'Friend',