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:
Goffi 2017-01-05 20:29:05 +01:00
commit d0c56aaadb

View file

@ -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