[telepathy-gabble/master] gateways plugin: put non-WOCKY_XMPP_ERROR errors through gabble_set_tp_error_from_wocky

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jan 11 12:52:50 PST 2010


---
 plugins/gateways.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/plugins/gateways.c b/plugins/gateways.c
index 2ba1116..5f648e0 100644
--- a/plugins/gateways.c
+++ b/plugins/gateways.c
@@ -277,6 +277,11 @@ finally:
               break;
             }
         }
+      else
+        {
+          /* generic fallback */
+          gabble_set_tp_error_from_wocky (error, &tp_error);
+        }
 
       dbus_g_method_return_error (context, tp_error);
       g_error_free (error);
-- 
1.5.6.5



More information about the telepathy-commits mailing list