1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-21 07:42:09 +03:00

export shouldHideEvent fn named

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-08-10 14:00:26 +01:00
parent ab3abd2f7f
commit a6064c53d3

View File

@ -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;