mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2026-06-04 03:28:00 -06:00
fix: removed the determination of the X account name on the Bluesky side
This commit is contained in:
+1
-17
@@ -34,7 +34,7 @@ export const isSimilarUser = (
|
|||||||
) {
|
) {
|
||||||
return {
|
return {
|
||||||
isSimilar: true,
|
isSimilar: true,
|
||||||
type: BSKY_USER_MATCH_TYPE.HANDLE,
|
type: BSKY_USER_MATCH_TYPE.DESCRIPTION,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -75,22 +75,6 @@ export const isSimilarUser = (
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
|
||||||
bskyProfile.description
|
|
||||||
?.toLocaleLowerCase()
|
|
||||||
.includes(`@${lowerCaseNames.accountName}`) &&
|
|
||||||
!["pfp ", "pfp: ", "pfp by "].some((t) =>
|
|
||||||
bskyProfile.description
|
|
||||||
.toLocaleLowerCase()
|
|
||||||
.includes(`${t}@${lowerCaseNames.accountName}`),
|
|
||||||
)
|
|
||||||
) {
|
|
||||||
return {
|
|
||||||
isSimilar: true,
|
|
||||||
type: BSKY_USER_MATCH_TYPE.DESCRIPTION,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isSimilar: false,
|
isSimilar: false,
|
||||||
type: BSKY_USER_MATCH_TYPE.NONE,
|
type: BSKY_USER_MATCH_TYPE.NONE,
|
||||||
|
|||||||
Reference in New Issue
Block a user