export shouldHideEvent fn named
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
ab3abd2f7f
commit
a6064c53d3
|
@ -33,7 +33,7 @@ function memberEventDiff(ev) {
|
||||||
return diff;
|
return diff;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function(ev, syncedSettings) {
|
export default function shouldHideEvent(ev, syncedSettings) {
|
||||||
// Hide redacted events
|
// Hide redacted events
|
||||||
if (syncedSettings['hideRedactions'] && ev.isRedacted()) return true;
|
if (syncedSettings['hideRedactions'] && ev.isRedacted()) return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue