add missing semicolons.
This commit is contained in:
@@ -454,7 +454,7 @@ export class UrlPreviewService {
|
|||||||
host = null;
|
host = null;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const user = await this.remoteUserResolveService.resolveUser(username, host)
|
const user = await this.remoteUserResolveService.resolveUser(username, host);
|
||||||
|
|
||||||
const attributionDomains = user.attributionDomains;
|
const attributionDomains = user.attributionDomains;
|
||||||
if (attributionDomains.some(x => `.${url.host.toLowerCase()}`.endsWith(`.${x}`))) {
|
if (attributionDomains.some(x => `.${url.host.toLowerCase()}`.endsWith(`.${x}`))) {
|
||||||
@@ -463,10 +463,10 @@ export class UrlPreviewService {
|
|||||||
username: fediverseCreator,
|
username: fediverseCreator,
|
||||||
avatarUrl: user.avatarUrl ?? '',
|
avatarUrl: user.avatarUrl ?? '',
|
||||||
avatarBlurhash: user.avatarBlurhash ?? '',
|
avatarBlurhash: user.avatarBlurhash ?? '',
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
console.warn('user not found: ' + fediverseCreator)
|
console.warn('user not found: ' + fediverseCreator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user