Store the JID instead of the account name for the roster account line
This commit is contained in:
parent
19a61ee605
commit
fb0e0a6bdd
|
@ -117,8 +117,12 @@ class RosterWindow:
|
||||||
tls_pixbuf = self.window.render_icon(gtk.STOCK_DIALOG_AUTHENTICATION,
|
tls_pixbuf = self.window.render_icon(gtk.STOCK_DIALOG_AUTHENTICATION,
|
||||||
gtk.ICON_SIZE_MENU) # the only way to create a pixbuf from stock
|
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,
|
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):
|
def remove_newly_added(self, jid, account):
|
||||||
if jid in gajim.newly_added[account]:
|
if jid in gajim.newly_added[account]:
|
||||||
|
|
Loading…
Reference in New Issue