aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-21 16:32:28 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-21 16:36:55 +0800
commite7f7ba7259d1b668b0d1702687f7241581b74d87 (patch)
treeed72bef1f0b4cfc19b29c41b07c9c986d1168fd3 /src
parentbfca0ccfebc3cf36e1f9add5cf720917fe17c54e (diff)
downloadgsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar.gz
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar.bz2
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar.lz
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar.xz
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.tar.zst
gsoc2013-empathy-e7f7ba7259d1b668b0d1702687f7241581b74d87.zip
strip name of the room (#622201)
Diffstat (limited to 'src')
-rw-r--r--src/empathy-new-chatroom-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index 50b5f5d82..8d954aa85 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -731,6 +731,8 @@ new_chatroom_dialog_join (EmpathyNewChatroomDialog *dialog)
room_name = g_strdup (room);
}
+ g_strstrip (room_name);
+
DEBUG ("Requesting channel for '%s'", room_name);
empathy_dispatcher_join_muc (connection, room_name,
gtk_get_current_event_time (), NULL, NULL);