~ubuntu-branches/ubuntu/natty/empathy/natty-updates

« back to all changes in this revision

Viewing changes to libempathy/empathy-log-manager.c

Tags: upstream-0.22.0
ImportĀ upstreamĀ versionĀ 0.22.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
2
/*
3
3
 * Copyright (C) 2003-2007 Imendio AB
4
 
 * Copyright (C) 2007 Collabora Ltd.
 
4
 * Copyright (C) 2007-2008 Collabora Ltd.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or
7
7
 * modify it under the terms of the GNU General Public License as
362
362
                is_user_str = xmlGetProp (node, "isuser");
363
363
                msg_type_str = xmlGetProp (node, "type");
364
364
 
365
 
                if (sender_avatar_token) {
 
365
                if (!G_STR_EMPTY (sender_avatar_token)) {
366
366
                        avatar = empathy_avatar_new_from_cache (sender_avatar_token);
367
367
                }
368
368
                if (is_user_str) {