[Glitch] Add support for poll ending notifications

Port front-end parts of 3a92885a86 to glitch-soc
This commit is contained in:
Thibaut Girka committed 2019-03-11 13:08:21 +01:00
1 parent 7d026aa079
commit 9c620fc5c8
4 files changed
+33 -2

No files matched your search

@@ -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();
};