1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

When replying to CW content, CW will be added

This commit is contained in:
Zhiyuan Zheng
2021-02-27 17:25:01 +01:00
parent f3fa6bc662
commit 4eea2bf58c
6 changed files with 45 additions and 24 deletions

View File

@ -302,7 +302,7 @@ export const getInstanceMaxTootChar = ({
instances: { instances }
}: RootState) => {
const instanceActive = findInstanceActive(instances)
return instanceActive !== -1 ? instances[instanceActive].max_toot_chars : null
return instanceActive !== -1 ? instances[instanceActive].max_toot_chars : 500
}
export const getInstanceAccount = ({ instances: { instances } }: RootState) => {