[Bug 25073] New: Need some way for handlers to know that a Channel was approved by the user
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 13 16:44:53 CET 2009
http://bugs.freedesktop.org/show_bug.cgi?id=25073
Summary: Need some way for handlers to know that a Channel was
approved by the user
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: tp-spec
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: sjoerd at luon.net
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)
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list