Skip to content

Commit

Permalink
Remove unused message filters.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodit committed May 19, 2022
1 parent 24cf99f commit 7cc0e19
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,12 @@ class MessageInterceptor(context: FeatureContext) : StealthFeature(context) {
{ MessageUpdate.wrap(it.args[2]) },
{ it.args[0].toUUIDString() },
ObjectFilter(context, "hide_read", MessageUpdate.READ()),
ObjectFilter(context, "hide_save", MessageUpdate.SAVE(), MessageUpdate.UNSAVE()),
ObjectFilter(
context,
"hide_screenshot",
MessageUpdate.SCREENSHOT(),
MessageUpdate.SCREEN_RECORD()
),
ObjectFilter(context, "hide_replay", MessageUpdate.REPLAY()),
ObjectFilter(context, "dont_release", MessageUpdate.RELEASE())
)
)
}
}

0 comments on commit 7cc0e19

Please sign in to comment.