plugin XEP-0059: don't show warning message when <last> is missing if there is not message
This commit is contained in:
parent
da5876c292
commit
e6e77c7770
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue