Commit f39d0057 authored by Philipp Hörist's avatar Philipp Hörist

JID: Add copy() method

parent c5d36cd0
......@@ -825,6 +825,9 @@ class JID:
self.node, self.domain, self.resource = parse_jid(jid)
def copy(self):
return JID(self)
def getNode(self):
Return the node part of the JID
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment