summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-26 12:07:32 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-04-26 12:07:32 +0100
commit42ea1fec2dae88947d3a821ef73cc06067d6f3a6 (patch)
tree04c71ddddcc251d99105284f0c8bb20a02f63abd
parentaa8ddef388397394a6b9ca00c7710814202f06c6 (diff)
channel: fix typo when getting the nick from enum
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--salut/message-channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/salut/message-channel.c b/salut/message-channel.c
index 0b23edc..5eebb84 100644
--- a/salut/message-channel.c
+++ b/salut/message-channel.c
@@ -230,7 +230,7 @@ channel_message_stanza_callback (GObject *source_object,
g_assert (core_error != NULL);
tp_yts_svc_channel_emit_failed (self,
ytst_message_error_type_from_wocky (error_type),
- wocky_enum_to_nick (WOCKY_TYPE_XMPP_ERROR_TYPE, core_error->code),
+ wocky_enum_to_nick (WOCKY_TYPE_XMPP_ERROR, core_error->code),
specialized_node ? specialized_node->name : "",
core_error->message ? core_error->message : "");
g_clear_error (&core_error);