really don't ask vcard when entering irc channel

This commit is contained in:
Yann Leboulanger 2006-03-16 19:08:49 +00:00
parent 31e3e64004
commit a02bd6dbe4
1 changed files with 2 additions and 1 deletions

View File

@ -763,8 +763,9 @@ class GroupchatControl(ChatControlBase):
self.draw_contact(nick)
self.draw_avatar(nick)
# Do not ask avatar to irc rooms as irc transports reply with messages
r, server = gajim.get_room_name_and_server_from_room_jid(self.room_jid)
if gajim.config.get('ask_avatars_on_startup') and \
not self.room_jid.startswith('irc'):
not server.startswith('irc'):
fjid = self.room_jid + '/' + nick
pixbuf = gtkgui_helpers.get_avatar_pixbuf_from_cache(fjid, True)
if pixbuf == 'ask':