summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-01-11 20:52:50 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-01-11 20:52:50 +0000
commit9254d60e427435824cc4a89701528c4ba88c72ad (patch)
tree7c755f88dc395172371eef3eb579f0a455a958ec /plugins
parent7098fca46292a666b3a8297c07f30f6db310f361 (diff)
downloadtelepathy-gabble-9254d60e427435824cc4a89701528c4ba88c72ad.tar.gz
gateways plugin: put non-WOCKY_XMPP_ERROR errors through gabble_set_tp_error_from_wocky
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gateways.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gateways.c b/plugins/gateways.c
index 2ba111616..5f648e026 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);