little cleanup

This commit is contained in:
Yann Leboulanger 2005-04-26 18:47:14 +00:00
parent c85273d556
commit 0ca7b52f8d
1 changed files with 4 additions and 9 deletions

View File

@ -367,16 +367,11 @@ class Roster_window:
name = ji name = ji
else: else:
name = jid.split('@')[0] name = jid.split('@')[0]
#get show show = 'offline' # show is offline by default
# show = array[jid]['show'] status = '' #no status message by default
# if not show:
show = 'offline'
status = ''
user1 = User(ji, name, array[jid]['groups'], user1 = User(ji, name, array[jid]['groups'], show, status,\
show, status, array[jid]['subscription'], array[jid]['ask'], resource, 0, '')
array[jid]['subscription'], array[jid]['ask'],
resource, 0, '')
# when we draw the roster, we can't have twice the same # when we draw the roster, we can't have twice the same
# user with 2 resources # user with 2 resources