Skip to content

Commit 549cbda

Browse files
authored
Merge pull request #2333 from h3poteto/fix/unknown
Set unknown to the default quote approval
2 parents 86b93b8 + f4d09e8 commit 549cbda

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

megalodon/src/friendica/api_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,9 @@ namespace FriendicaAPI {
722722
bookmarked: s.bookmarked ? s.bookmarked : false,
723723
quote: null,
724724
quote_approval: {
725-
automatic: ['unsupported_policy'],
725+
automatic: [],
726726
manual: [],
727-
current_user: 'automatic'
727+
current_user: 'unknown'
728728
}
729729
})
730730
export const status_params = (s: Entity.StatusParams): MegalodonEntity.StatusParams => {

megalodon/src/gotosocial/api_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,9 +691,9 @@ namespace GotosocialAPI {
691691
bookmarked: s.bookmarked ? s.bookmarked : false,
692692
quote: null,
693693
quote_approval: {
694-
automatic: ['unsupported_policy'],
694+
automatic: [],
695695
manual: [],
696-
current_user: 'automatic'
696+
current_user: 'unknown'
697697
}
698698
})
699699
export const status_params = (s: Entity.StatusParams): MegalodonEntity.StatusParams => s

megalodon/src/pixelfed/api_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,9 +640,9 @@ namespace PixelfedAPI {
640640
bookmarked: s.bookmarked ? s.bookmarked : false,
641641
quote: null,
642642
quote_approval: {
643-
automatic: ['unsupported_policy'],
643+
automatic: [],
644644
manual: [],
645-
current_user: 'automatic'
645+
current_user: 'unknown'
646646
}
647647
})
648648
export const status_params = (s: Entity.StatusParams): MegalodonEntity.StatusParams => s

0 commit comments

Comments
 (0)