From 0306a490cce67d9df54255cd8c7d1efea4c7377f Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 13 Feb 2010 16:43:35 +0000 Subject: Only act when the account got a connection --- src/empathy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/empathy.c b/src/empathy.c index 6ae552281..be95d6dd0 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -504,6 +504,8 @@ account_status_changed_cb (TpAccount *account, TpConnection *conn; conn = tp_account_get_connection (account); + if (conn == NULL) + return; empathy_dispatcher_join_muc (conn, empathy_chatroom_get_room (room), NULL, NULL); -- cgit v1.2.3