[empathy] strip name of the room (#622201)



commit e7f7ba7259d1b668b0d1702687f7241581b74d87
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 50b5f5d..8d954aa 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);



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