comparison src/plugins/plugin_xep_0297.py @ 2129:6a66c8c5a567

core: replaced calls to client.xmlstream.send by client.send which is the right method to use. client.xmlstream should not be used directly
author Goffi <goffi@goffi.org>
date Sat, 04 Feb 2017 17:59:13 +0100
parents ad88808591ef
children 410e7a940a8b
comparison
equal deleted inserted replaced
2128:aa94f33fd2ad 2129:6a66c8c5a567
96 96
97 msg.addChild(body_elt) 97 msg.addChild(body_elt)
98 msg.addChild(forwarded_elt) 98 msg.addChild(forwarded_elt)
99 99
100 client = self.host.getClient(profile_key) 100 client = self.host.getClient(profile_key)
101 return client.xmlstream.send(msg.toXml()) 101 return client.send(msg.toXml())
102 102
103 103
104 class XEP_0297_handler(XMPPHandler): 104 class XEP_0297_handler(XMPPHandler):
105 implements(iwokkel.IDisco) 105 implements(iwokkel.IDisco)
106 106