diff options
author | mathieui <mathieui@mathieui.net> | 2014-05-08 01:37:52 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-05-08 01:37:52 +0200 |
commit | 916416a019c398a484b6a436ee908808780263f9 (patch) | |
tree | 6de5b51968e8113b18251e8dee4131cd681860d9 /doc/stub/mpd.py | |
parent | 9786592b80f7ddcfefa967ea910f38ba3c02b0b4 (diff) | |
download | poezio-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 'doc/stub/mpd.py')
0 files changed, 0 insertions, 0 deletions