is User Allowed To Send
fun isUserAllowedToSend( userId: String, isState: Boolean, eventType: String?): Boolean
Content copied to clipboard
Tell if an user can send an event of a certain type.
Return
true if the user can send this type of event
Parameters
user Id
the id of the user to check for.
is State
true if the event is a state event (ie. state key is not null)
event Type
the event type to check for