mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
merge: Fix bad merge in UtilityService.ts (!1084)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1084 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
commit
008df49d49
1 changed files with 0 additions and 9 deletions
|
@ -94,15 +94,6 @@ export class UtilityService {
|
||||||
return this.meta.bubbleInstances.some(x => `.${host.toLowerCase()}`.endsWith(`.${x}`));
|
return this.meta.bubbleInstances.some(x => `.${host.toLowerCase()}`.endsWith(`.${x}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
|
||||||
public isBubbledHost(host: string | null): boolean {
|
|
||||||
if (host == null) return false;
|
|
||||||
|
|
||||||
// TODO remove null conditional after merging lab/persisted-instance-blocks
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
||||||
return this.meta.bubbleInstances?.includes(host);
|
|
||||||
}
|
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public concatNoteContentsForKeyWordCheck(content: {
|
public concatNoteContentsForKeyWordCheck(content: {
|
||||||
cw?: string | null;
|
cw?: string | null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue