merge: Cache note translations in Redis (!1027)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1027 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
@@ -264,3 +264,7 @@ export type IMentionedRemoteUsers = {
|
||||
username: string;
|
||||
host: string;
|
||||
}[];
|
||||
|
||||
export function hasText(note: MiNote): note is MiNote & { text: string } {
|
||||
return note.text != null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user