@@ -0,0 +1,1005 @@
+#!/usr/bin/env python%0A%0Aimport os%0A%0Afrom gi.repository import GObject, Gio%0Afrom gi.repository import TelepathyGLib as Tp%0A%0Adef approve_channel_cb (approver, account, connection,%0A    channels, dispatch, context, data):%0A    print %22Asked for approval%22%0A    handler = None%0A%0A    context.accept ()%0A%0A    for h in dispatch.get_property (%22possible-handlers%22):%0A        if h.startswith('org.freedesktop.Telepathy.Client.Phoenix'):%0A            handler = h%0A%0A    if handler == None:%0A        print %22No Phoenix handler, closing%22%0A        dispatch.close_channels_async (None, None)%0A    else:%0A        print %22Handling with: %22 + handler%0A        dispatch.handle_with_async (handler, None, None)%0A%0Aif __name__ == '__main__':%0A    Tp.debug_set_flags(os.getenv('PHOENIX_DEBUG', ''))%0A%0A    loop = GObject.MainLoop()%0A%0A    am = Tp.AccountManager.dup()%0A    approver = Tp.SimpleApprover.new_with_am(am,%0A        'Phoenix.Approver', False, approve_channel_cb, None)%0A%0A    approver.add_approver_filter(%7B%7D)%0A    approver.register()%0A%0A    loop.run()%0A

Add the approver back