aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy.c')
-rw-r--r--src/empathy.c2
1 files changed, 2 insertions, 0 deletions
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);