From 80acfdae9acf523b8e1feaeabfb8147d93c38220 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 5 Jan 2014 00:43:37 +0000 Subject: Added contact presence offline test --- src/contact.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/contact.c b/src/contact.c index b2bef275..f2f74349 100644 --- a/src/contact.c +++ b/src/contact.c @@ -171,9 +171,9 @@ p_contact_create_display_string(const PContact contact, const char * const resou { GString *result_str = g_string_new(""); - // use nickname if exists - const char *display_name = p_contact_name_or_jid(contact); - g_string_append(result_str, display_name); + // use nickname if exists + const char *display_name = p_contact_name_or_jid(contact); + g_string_append(result_str, display_name); // add resource if not default provided by profanity if (strcmp(resource, "__prof_default") != 0) { -- cgit 1.4.1-2-gfad0