diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-11-12 22:16:47 +0100 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-11-12 22:16:47 +0100 |
| commit | 5c38e6b824053a9d94e025f3836557acf8bbebad (patch) | |
| tree | 28250c087ea73c31b90c71879974e7cd72b2f32c /packages/backend/src/queue/processors | |
| parent | fix: use a proper function (diff) | |
| download | sharkey-5c38e6b824053a9d94e025f3836557acf8bbebad.tar.gz sharkey-5c38e6b824053a9d94e025f3836557acf8bbebad.tar.bz2 sharkey-5c38e6b824053a9d94e025f3836557acf8bbebad.zip | |
add: custom like emoji per instance, fix like
This fixes the fact that likes on mastodon didn't get federated properly and let's instance admins choose a custom emoji
Diffstat (limited to 'packages/backend/src/queue/processors')
| -rw-r--r-- | packages/backend/src/queue/processors/ImportNotesProcessorService.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts index 607d4d19a5..a9159a3980 100644 --- a/packages/backend/src/queue/processors/ImportNotesProcessorService.ts +++ b/packages/backend/src/queue/processors/ImportNotesProcessorService.ts @@ -364,7 +364,7 @@ export class ImportNotesProcessorService { let title; const files: MiDriveFile[] = []; - function decodeIGString(str: any) { + function decodeIGString(str: string) { const arr = []; for (let i = 0; i < str.length; i++) { arr.push(str.charCodeAt(i)); |