summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 5ac3c5e3..0268bef0 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1314,8 +1314,7 @@ class ContactInfoWin(Win):
presence = resource.get_presence()
else:
presence = 'unavailable'
- self.addstr(0, 0, jid, curses.color_pair(theme.COLOR_INFORMATION_BAR))
- self.addstr(' (%s)'%(presence,), curses.color_pair(theme.COLOR_INFORMATION_BAR))
+ self.addstr(0, 0, '%s (%s)'%(jid, presence,), curses.color_pair(theme.COLOR_INFORMATION_BAR))
self.finish_line(theme.COLOR_INFORMATION_BAR)
def draw_group_info(self, group):