[Glitch] Add support for poll ending notifications

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

View File

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