Enable the polls feature (#7581)
This commit is contained in:
parent
a7a7cb56fe
commit
c4fc20018d
6 changed files with 19 additions and 59 deletions
|
@ -179,13 +179,6 @@ export function getHandlerTile(ev: MatrixEvent): string {
|
|||
}
|
||||
}
|
||||
|
||||
if (
|
||||
M_POLL_START.matches(type) &&
|
||||
!SettingsStore.getValue("feature_polls")
|
||||
) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
if (ev.isState()) {
|
||||
if (stateEventSingular.has(type) && ev.getStateKey() !== "") return undefined;
|
||||
return stateEventTileTypes[type];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue