plugin XEP-0231: Bits of Binary first draft:
The current implementation only retrieve data from Bits of Binary, it's not used yet for sending. When an XHTML-IM message is received (XEP-0071), all <img> are checked and if a cid scheme is found in src attribute the file is retrieved and the src is changed with cached file.
This commit is contained in:
parent
6872df4fd3
commit
d0c56aaadb
1 changed files with 147 additions and 5 deletions
|
|
@ -76,6 +76,8 @@ class SatXMPPClient(wokkel_client.XMPPClient):
|
|||
|
||||
@param type_(unicode): IQ type ('set' or 'get')
|
||||
@param timeout(None, int): timeout in seconds
|
||||
@return((D)domish.Element: result stanza
|
||||
errback is called if and error stanza is returned
|
||||
"""
|
||||
iq_elt = xmlstream.IQ(self.xmlstream, type_)
|
||||
iq_elt.timeout = timeout
|
||||
|
|
|
|||
Loading…
Reference in a new issue