

def unsubscribe(self, jid_to, node, subId=None):
    assert (self.xmlstream != None)
    unsub = UnsubscribeMessage(jid_to, self.jid.userhost(), node, subId)
    log.msg(('Unsubscribing %s from node %s' % (self.jid.userhost(), node)))
    self.xmlstream.send(unsub)

dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/core/pubsub/agent.py XmppAgent.unsubscribe/original