]> git.0d.be Git - empathy.git/commitdiff
auth-factory: add a comment as to why we're also an approver
authorJonny Lamb <jonnylamb@gnome.org>
Tue, 14 Dec 2010 16:31:57 +0000 (16:31 +0000)
committerJonny Lamb <jonnylamb@gnome.org>
Tue, 14 Dec 2010 16:32:41 +0000 (16:32 +0000)
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
libempathy/empathy-auth-factory.c

index 59c256e7aca2f84ae931b52b7f80f8e92ce13e6d..443962a7ce415d9c0dacb1e08d37e5ca79f2872e 100644 (file)
@@ -475,6 +475,12 @@ empathy_auth_factory_constructed (GObject *obj)
           G_TYPE_STRING, TP_IFACE_CHANNEL_INTERFACE_SASL_AUTHENTICATION,
           NULL));
 
+  /* We are also an observer so that we can see new auth channels
+   * popping up and if we have the password already saved to one
+   * account where an auth channel has just appeared we can call
+   * Claim() on the CDO so the approver won't get it, which makes
+   * sense. */
+
   tp_base_client_take_observer_filter (client, tp_asv_new (
           /* ChannelType */
           TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,