From d03ce7e869efdec9efed855a73539b33027a52c8 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 13 Jun 2010 01:30:06 +0000 Subject: fix the hide_join_exit and hide_status_change options not working, also don't send the vcard if we are not using anonymous auth --- src/multiuserchat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/multiuserchat.py') diff --git a/src/multiuserchat.py b/src/multiuserchat.py index a54874a7..fec1d0d3 100644 --- a/src/multiuserchat.py +++ b/src/multiuserchat.py @@ -140,7 +140,8 @@ class MultiUserChat(object): else: nick = config.get('default_nick', 'poezio') self.handler.emit('join-room', room=roomname, nick=nick) - self.vcard_sender.start() + if config.get('jid', '') == '': # Don't send the vcard if we're not anonymous + self.vcard_sender.start() # because the user ALREADY has one on the server def send_message(self, room, message): mes = Message(to=room) -- cgit v1.2.3