mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 00:38:49 +01:00
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
|
||||
.trim()
|
||||
.replace(/^@/, '');
|
||||
const url = target.getAttribute('href');
|
||||
const mention = mentions.find(
|
||||
(mention) =>
|
||||
mention.username === username || mention.acct === username,
|
||||
mention.username === username ||
|
||||
mention.acct === username ||
|
||||
mention.url === url,
|
||||
);
|
||||
if (mention) {
|
||||
states.showAccount = mention.acct;
|
||||
|
|
Loading…
Reference in a new issue