1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-19 20:23:18 +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;
}
export default function(ev, syncedSettings) {
export default function shouldHideEvent(ev, syncedSettings) {
// Hide redacted events
if (syncedSettings['hideRedactions'] && ev.isRedacted()) return true;