mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
export shouldHideEvent fn named
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user