summaryrefslogtreecommitdiff
path: root/src/muc-factory.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-01-13 09:18:14 +0000
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-01-13 09:18:14 +0000
commit0986e22bcbff90cc12d4bef5cf27e42d8bde9853 (patch)
tree075a83f58a952e38b3a2fe9f48163202f4d53139 /src/muc-factory.c
parent9806dea0ec26d3803f6f05e12666296bbfa527b7 (diff)
downloadtelepathy-gabble-0986e22bcbff90cc12d4bef5cf27e42d8bde9853.tar.gz
muc-factory: improve debug messages when TargetID and room props conflict
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/muc-factory.c')
-rw-r--r--src/muc-factory.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/muc-factory.c b/src/muc-factory.c
index c52925ed0..f8d6d953c 100644
--- a/src/muc-factory.c
+++ b/src/muc-factory.c
@@ -1430,7 +1430,8 @@ handle_text_channel_request (GabbleMucFactory *self,
if (!ok)
{
g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
- "TargetID and RoomID conflict.");
+ "TargetID's node part (%s) doesn't match RoomID (%s)",
+ target_room, room_id);
ret = FALSE;
goto out;
}
@@ -1454,7 +1455,8 @@ handle_text_channel_request (GabbleMucFactory *self,
if (!ok)
{
g_set_error (error, TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
- "TargetID and Server conflict.");
+ "TargetID's domain part (%s) doesn't match Server (%s)",
+ target_server, server_prop);
ret = FALSE;
goto out;
}