mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-10 14:11:22 -06:00
fix: removed the determination of the X account name on the Bluesky side
This commit is contained in:
parent
3c2f18930c
commit
a3ad477bae
@ -34,7 +34,7 @@ export const isSimilarUser = (
|
||||
) {
|
||||
return {
|
||||
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 {
|
||||
isSimilar: false,
|
||||
type: BSKY_USER_MATCH_TYPE.NONE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user