Do not keep polls pre-filled in thread mode

lolsob-rspec
Thibaut Girka 2019-07-15 00:21:01 +02:00 committed by ThibG
parent 4eb6457889
commit 79e97d71d4
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ function continueThread (state, status) {
map.set('privacy', status.visibility); map.set('privacy', status.visibility);
map.set('sensitive', false); map.set('sensitive', false);
map.update('media_attachments', list => list.clear()); map.update('media_attachments', list => list.clear());
map.set('poll', null);
map.set('idempotencyKey', uuid()); map.set('idempotencyKey', uuid());
map.set('focusDate', new Date()); map.set('focusDate', new Date());
map.set('caretPosition', null); map.set('caretPosition', null);