don't add our jid in chat2muc dialog

This commit is contained in:
Yann Leboulanger 2007-09-18 16:06:53 +00:00
parent c2f43c84de
commit 9b843cb0d4
1 changed files with 4 additions and 3 deletions

View File

@ -3261,9 +3261,10 @@ class TransformChatToMUC:
contact = \
gajim.contacts.get_contact_with_highest_priority(account, jid)
contact_transport = gajim.get_transport_name_from_jid(jid)
if contact.jid not in self.auto_jids and \
not contact_transport and not contact.is_transport() and \
contact.jid not in gajim.interface.minimized_controls[account]:
if contact.jid not in self.auto_jids and contact.jid != \
gajim.get_jid_from_account(self.account) not contact_transport and \
not contact.is_transport() and contact.jid not in \
gajim.interface.minimized_controls[account]:
if contact.show not in ('offline', 'error'):
img = gajim.interface.roster.jabber_state_images['16'][
contact.show]