aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-status-icon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-status-icon.c')
-rw-r--r--src/empathy-status-icon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 07f8abf85..5d04e4b57 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -122,7 +122,7 @@ status_icon_update_notification (EmpathyStatusIcon *icon)
} else {
GdkPixbuf *pixbuf = NULL;
- if (g_strcmp0 (priv->event->icon_name, EMPATHY_IMAGE_NEW_MESSAGE) == 0) {
+ if (priv->event->contact != NULL) {
pixbuf = empathy_pixbuf_avatar_from_contact_scaled (priv->event->contact,
48, 48);
}