Fix some accounts not working
All these webfinger/custom-server/moving-instances things are very annoying
This commit is contained in:
parent
7b6d30f37d
commit
122f6877c9
1 changed files with 4 additions and 1 deletions
|
@ -354,9 +354,12 @@ function Status({
|
||||||
).innerText
|
).innerText
|
||||||
.trim()
|
.trim()
|
||||||
.replace(/^@/, '');
|
.replace(/^@/, '');
|
||||||
|
const url = target.getAttribute('href');
|
||||||
const mention = mentions.find(
|
const mention = mentions.find(
|
||||||
(mention) =>
|
(mention) =>
|
||||||
mention.username === username || mention.acct === username,
|
mention.username === username ||
|
||||||
|
mention.acct === username ||
|
||||||
|
mention.url === url,
|
||||||
);
|
);
|
||||||
if (mention) {
|
if (mention) {
|
||||||
states.showAccount = mention.acct;
|
states.showAccount = mention.acct;
|
||||||
|
|
Loading…
Add table
Reference in a new issue