about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-07-15 00:21:01 +0200
committerThibG <thib@sitedethib.com>2019-07-15 00:41:09 +0200
commite9fac2def9fe2b3570f38240307d63d3df8461cb (patch)
tree54269a5bf14fd65ed36714fd8933637a524ae3a4 /app
parente0bfa685c63b9c33c96b00b8305cd6ad3f3db27a (diff)
Do not keep polls pre-filled in thread mode
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/reducers/compose.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js
index a47b8b7bd..5f176b832 100644
--- a/app/javascript/flavours/glitch/reducers/compose.js
+++ b/app/javascript/flavours/glitch/reducers/compose.js
@@ -182,6 +182,7 @@ function continueThread (state, status) {
     map.set('privacy', status.visibility);
     map.set('sensitive', false);
     map.update('media_attachments', list => list.clear());
+    map.set('poll', null);
     map.set('idempotencyKey', uuid());
     map.set('focusDate', new Date());
     map.set('caretPosition', null);