Fix friend notification in friend log

This commit is contained in:
Natsumi
2022-03-13 20:00:45 +13:00
parent 7ead03e3ed
commit 4cb902d3f4

View File

@@ -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',