summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2011-03-24 19:51:17 +0000
committerVivek Dasmohapatra <vivek@collabora.co.uk>2011-04-05 14:19:10 +0100
commit5ac48ff9079881f4796a70787bb222a3f06603c1 (patch)
treebd1003ab9fa5212a372a55358fd0efa423b6f282
parent5dcb0986d3473033491fd06f944c9e3b64ec4f09 (diff)
downloadtelepathy-mission-control-5ac48ff9079881f4796a70787bb222a3f06603c1.tar.gz
Internal dispatch operations are NOT subject to approval
-rw-r--r--src/mcd-dispatch-operation.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index df9703da..5f9fccef 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -1703,6 +1703,10 @@ _mcd_dispatch_operation_handlers_can_bypass_approval (
{
gchar **iter;
+ /* special case: internally handled request, not subject to approval */
+ if (_mcd_dispatch_operation_is_internal (self))
+ return TRUE;
+
for (iter = self->priv->possible_handlers;
iter != NULL && *iter != NULL;
iter++)