From 8fd8079a84d8e71ab02eaa69ef15cb33fcea85c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sun, 22 Dec 2024 13:34:29 -0500 Subject: [PATCH] lint: fix paranthesis --- src/activitypub/actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/actors.js b/src/activitypub/actors.js index fb0cc94de4..7076bf7520 100644 --- a/src/activitypub/actors.js +++ b/src/activitypub/actors.js @@ -179,7 +179,7 @@ Actors.assert = async (ids, options = {}) => { memo.handleAdd[profile.username.toLowerCase()] = profile.uid; } - if (options.update || profile.fullname && fullname !== profile.fullname) { + if (options.update || (profile.fullname && fullname !== profile.fullname)) { if (fullname && uidsForCurrent[idx] !== 0) { memo.searchRemove.push(['ap.name:sorted', `${fullname.toLowerCase()}:${profile.uid}`]); }