aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-group.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-group.c')
-rw-r--r--libempathy/empathy-tp-group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index c4f7583e9..dbc2d228e 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -777,7 +777,7 @@ empathy_tp_group_get_name (EmpathyTpGroup *group)
priv = GET_PRIV (group);
/* Lazy initialisation */
- if (!priv->group_name) {
+ if (!priv->group_name && priv->tp_chan->handle != 0) {
priv->group_name = empathy_inspect_channel (priv->account, priv->tp_chan);
}