Need some way for handlers to know that a Channel was approved by the user
@sjoerd
Submitted by Sjoerd Simons Assigned to Simon McVittie
Description
The current ChannelDispatcher behaviour is that when there are now approvers (or the approver crashes) for a channel, it gets dispatched immediately to the handler. This is obviously desirable, what is less desirable is that a handler can't know the channel it was asked to handle was approved by something (either a user or some auto-acceptor).
While this is ok in some cases, e.g. text channels where it would just cause a chat window popping up, it's less desirable in other cases, e.g. on an incoming audio/video call which pops up a call ui and starts sending a/v..
A solution for this would be to put information in the HandlerInfo to state that this channel has been approved. Handlers for channels where skipping approval is a problem can then check this flag (if it's not set they can either pop up some dodgy UI, or more likely, kill the channel)