about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-01-05 00:43:37 +0000
committerJames Booth <boothj5@gmail.com>2014-01-05 00:43:37 +0000
commit80acfdae9acf523b8e1feaeabfb8147d93c38220 (patch)
tree266c1f02e559acb6199170b35b1b3fe6c754c0f9 /src
parent9da4a6e1b9f13b253de3d029ef5cfb31a7109fa8 (diff)
downloadprofani-tty-80acfdae9acf523b8e1feaeabfb8147d93c38220.tar.gz
Added contact presence offline test
Diffstat (limited to 'src')
-rw-r--r--src/contact.c6
1 files changed, 3 insertions, 3 deletions
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) {