summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 5f3b1323..b62be3d2 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -38,6 +38,7 @@ from config import config
from tab import MucTab, InfoTab, PrivateTab, RosterInfoTab
from user import User
from room import Room
+from roster import Roster
from message import Message
from text_buffer import TextBuffer
from keyboard import read_char
@@ -74,7 +75,7 @@ class Gui(object):
self.init_curses(self.stdscr)
self.xmpp = xmpp
default_tab = InfoTab(self.stdscr, "Info") if self.xmpp.anon\
- else RosterInfoTab(self.stdscr, "Roster")
+ else RosterInfoTab(self.stdscr, self.xmpp.roster)
self.tabs = [default_tab]
# a unique buffer used to store global informations
# that are displayed in almost all tabs, in an