shouldFilter

abstract fun shouldFilter(message: String, isFilteringDisabled: Boolean = false): Boolean(source)

Determines if a message should be filtered.

Return

true if the message should be filtered, false otherwise.

Parameters

message

The message text to check.

isFilteringDisabled

Whether filtering is disabled for the current contact.