diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-06-18 20:28:31 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-06-18 20:28:31 +0000 |
| commit | 0cfa28a7de7cd08820d91c9cba769423d8ce8c89 (patch) | |
| tree | 967230faa328d35db7459ad7126ccf5bf3e2ece1 /src/modules/instance.js | |
| parent | 69eff65130170c0cd8fffda45b952d3bec49c218 (diff) | |
| parent | 0eed2ccca8a0980c161bb5a52b211c507e0ffef5 (diff) | |
Merge branch 'feature/polls-attempt-2' into 'develop'
Feature/polls attempt 2
See merge request pleroma/pleroma-fe!826
Diffstat (limited to 'src/modules/instance.js')
| -rw-r--r-- | src/modules/instance.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modules/instance.js b/src/modules/instance.js index 59beb23c..22addb9b 100644 --- a/src/modules/instance.js +++ b/src/modules/instance.js @@ -52,7 +52,15 @@ const defaultState = { // Version Information backendVersion: '', - frontendVersion: '' + frontendVersion: '', + + pollsAvailable: false, + pollLimits: { + max_options: 4, + max_option_chars: 255, + min_expiration: 60, + max_expiration: 60 * 60 * 24 + } } const instance = { |
