summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-08 01:37:52 +0200
committermathieui <mathieui@mathieui.net>2014-05-08 01:37:52 +0200
commit916416a019c398a484b6a436ee908808780263f9 (patch)
tree6de5b51968e8113b18251e8dee4131cd681860d9 /src/roster.py
parent9786592b80f7ddcfefa967ea910f38ba3c02b0b4 (diff)
downloadpoezio-916416a019c398a484b6a436ee908808780263f9.tar.gz
poezio-916416a019c398a484b6a436ee908808780263f9.tar.bz2
poezio-916416a019c398a484b6a436ee908808780263f9.tar.xz
poezio-916416a019c398a484b6a436ee908808780263f9.zip
Add an ugly fix to avoid endless disco#info queries with each message (with receipts)
We need to check if the remote entity supports 0184, but if it doesn’t support disco#info, then we will get an iq type="error" and nothing will be cached, leading to disco#info queries being sent each time. Keep a cache valid 2 hours of the JIDs which replied with an error. TODO: check that this the kind of time period we want.
Diffstat (limited to 'src/roster.py')
0 files changed, 0 insertions, 0 deletions