Store the JID instead of the account name for the roster account line

This commit is contained in:
Alex Mauer 2005-09-12 17:57:16 +00:00
parent 19a61ee605
commit fb0e0a6bdd
1 changed files with 5 additions and 1 deletions

View File

@ -117,8 +117,12 @@ class RosterWindow:
tls_pixbuf = self.window.render_icon(gtk.STOCK_DIALOG_AUTHENTICATION,
gtk.ICON_SIZE_MENU) # the only way to create a pixbuf from stock
name = gajim.config.get_per('accounts', account, 'name')
hostname = gajim.config.get_per('accounts', account, 'hostname')
our_jid = name + '@' + hostname
model.append(None, [self.jabber_state_images[status], account,
'account', account, account, False, tls_pixbuf])
'account', our_jid, account, False, tls_pixbuf])
def remove_newly_added(self, jid, account):
if jid in gajim.newly_added[account]: