[empathy/gnome-2-30] strip name of the room (#622201)



commit 05ebd71bebcd22819ba1c9cddf6b6ecc6ae8f61b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jun 21 10:32:28 2010 +0200

    strip name of the room (#622201)

 src/empathy-new-chatroom-dialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index c814e44..b3e79ab 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -730,6 +730,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, NULL, NULL);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]