plugin XEP-0059: don't show warning message when <last> is missing if there is not message

This commit is contained in:
Goffi 2021-08-02 21:52:17 +02:00
commit e6e77c7770

View file

@ -138,7 +138,8 @@ class XEP_0059(object):
)
if rsm_response.last is None:
log.warning("Can't do pagination, no \"last\" received")
if rsm_response.count:
log.warning("Can't do pagination, no \"last\" received")
return None
return rsm.RSMRequest(