about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/actions/notifications.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-11 11:32:21 +0100
committerThibaut Girka <thib@sitedethib.com>2019-03-11 13:08:21 +0100
commit9c620fc5c80ff0f2aa600069dfdf868e150b0799 (patch)
tree02e04d7d915c0444b2fe8741b46701f27c2f0b5c /app/javascript/flavours/glitch/actions/notifications.js
parent7d026aa07927a8960a573350a1aa2a538ef938f3 (diff)
[Glitch] Add support for poll ending notifications
Port front-end parts of 3a92885a860df12b12d8356faf179a3fc63be6f2 to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions/notifications.js')
-rw-r--r--app/javascript/flavours/glitch/actions/notifications.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/notifications.js b/app/javascript/flavours/glitch/actions/notifications.js
index f89b4cb36..dd4f5fd44 100644
--- a/app/javascript/flavours/glitch/actions/notifications.js
+++ b/app/javascript/flavours/glitch/actions/notifications.js
@@ -106,7 +106,7 @@ const excludeTypesFromSettings = state => state.getIn(['settings', 'notification
 
 
 const excludeTypesFromFilter = filter => {
-  const allTypes = ImmutableList(['follow', 'favourite', 'reblog', 'mention']);
+  const allTypes = ImmutableList(['follow', 'favourite', 'reblog', 'mention', 'poll']);
   return allTypes.filterNot(item => item === filter).toJS();
 };