mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-18 01:32:23 -06:00
Update getAccountNameAndDisplayName so ellipsis are not required in user links
This commit is contained in:
parent
c47f022a14
commit
4d94ef6201
@ -27,7 +27,7 @@ export const getAccountNameAndDisplayName = (userCell: Element) => {
|
|||||||
const twDisplayName = displayNameEl?.textContent;
|
const twDisplayName = displayNameEl?.textContent;
|
||||||
const bskyHandle =
|
const bskyHandle =
|
||||||
userCell.textContent?.match(/([^/\s]+\.bsky\.social)/)?.[1] ??
|
userCell.textContent?.match(/([^/\s]+\.bsky\.social)/)?.[1] ??
|
||||||
userCell.textContent?.match(/bsky\.app\/profile\/([^/\s]+)…/)?.[1] ??
|
userCell.textContent?.match(/bsky\.app\/profile\/([^/\s]+)…?/)?.[1] ??
|
||||||
null;
|
null;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user