Include only incoming/outgoing messages in reporting (#429)
* Skip activity messages from reporting * Makes reportable? as access list for reporting
This commit is contained in:
@@ -66,6 +66,10 @@ class Message < ApplicationRecord
|
||||
data
|
||||
end
|
||||
|
||||
def reportable?
|
||||
incoming? || outgoing?
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def dispatch_event
|
||||
|
||||
Reference in New Issue
Block a user