kopia lustrzana https://github.com/cheeaun/phanpy
Fix some accounts not working
All these webfinger/custom-server/moving-instances things are very annoyingpull/20/head
rodzic
7b6d30f37d
commit
122f6877c9
|
@ -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;
|
||||||
|
|
Ładowanie…
Reference in New Issue