libpurple/protocols/mxit/multimx.c

branch
mxit-2.x.y
changeset 34244
f577eeb610cc
parent 33848
07ffa66fd57b
child 34245
ecf326be93f0
--- a/libpurple/protocols/mxit/multimx.c	Wed Apr 03 11:21:06 2013 +0200
+++ b/libpurple/protocols/mxit/multimx.c	Fri Jul 12 09:20:08 2013 +0200
@@ -466,6 +466,10 @@
 	roomname = g_hash_table_lookup(components, "room");
 	multimx = find_room_by_alias(session, roomname);
 
+	/* no roomname - this occurs during a re-connect. */
+	if (!roomname)
+		return;
+
 	if (multimx != NULL) {
 		/* The room information already exists */
 

mercurial