From de2fe68d40ce8020c7d1b08930d699d0af777b34 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 14 Sep 2005 16:19:42 +0000 Subject: [PATCH] don't send sha in gc presences --- src/common/connection.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index f77309687..88733abac 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1835,7 +1835,6 @@ class Connection: ptype = None p = common.xmpp.Presence(to = '%s@%s/%s' % (room, server, nick), show = show, status = self.status) - p = self.add_sha(p) t = p.setTag(common.xmpp.NS_MUC + ' x') if password: t.setTagData('password', password) @@ -1863,7 +1862,6 @@ class Connection: if not self.connection: return p = common.xmpp.Presence(to = '%s/%s' % (room_jid, nick)) - p = self.add_sha(p) self.to_be_sent.append(p) def send_gc_status(self, nick, jid, show, status): @@ -1875,7 +1873,6 @@ class Connection: show = helpers.get_xmpp_show(show) p = common.xmpp.Presence(to = '%s/%s' % (jid, nick), typ = ptype, show = show, status = status) - p = self.add_sha(p) self.to_be_sent.append(p) def gc_set_role(self, room_jid, nick, role, reason = ''):