about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-01 00:05:12 +0100
committerJames Booth <boothj5@gmail.com>2014-09-01 00:05:12 +0100
commitc73c4b20efef6d412d48be241b84f4374dacc4f7 (patch)
tree9dfd5fd4f942477a9583053b110f9dc5d7757e64 /src
parent8cf5241d3195568114db5acf08949ad1e49c85ae (diff)
downloadprofani-tty-c73c4b20efef6d412d48be241b84f4374dacc4f7.tar.gz
Tidied console presence messages
Diffstat (limited to 'src')
-rw-r--r--src/ui/console.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index f7075512..3b8242cf 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1480,8 +1480,6 @@ _cons_show_contact_online(PContact contact, Resource *resource, GDateTime *last_
 
     if (wins_is_current(console)) {
         ui_current_page_off();
-    }
-    if (wins_is_current(console)) {
         win_update_virtual(console);
     }
 }
@@ -1498,8 +1496,6 @@ _cons_show_contact_offline(PContact contact, char *resource, char *status)
 
     if (wins_is_current(console)) {
         ui_current_page_off();
-    }
-    if (wins_is_current(console)) {
         win_update_virtual(console);
     }
 }