mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-02 19:11:42 +02:00
export shouldHideEvent fn named
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
ab3abd2f7f
commit
a6064c53d3
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user