Skip to content

Node.js based forum software built for the modern web

lint: fix paranthesis

Barış Soner Uşaklı8fd8079a84d8
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}`]);
}