From e7f7ba7259d1b668b0d1702687f7241581b74d87 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 21 Jun 2010 10:32:28 +0200 Subject: strip name of the room (#622201) --- src/empathy-new-chatroom-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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); -- cgit v1.2.3