plugin XEP-0045: request 50 *last* MAM messages if new archive
This commit is contained in:
parent
0e70587857
commit
8cc39ea3a5
1 changed files with 1 additions and 1 deletions
|
|
@ -876,7 +876,7 @@ class SatMUCClient(muc.MUCClient):
|
|||
room_jid=room_jid))
|
||||
# we don't want the whole archive if we have no archive yet
|
||||
# as it can be huge
|
||||
rsm_req = rsm.RSMRequest(max_=50)
|
||||
rsm_req = rsm.RSMRequest(max_=50, before=u'')
|
||||
|
||||
mam_req = mam.MAMRequest(rsm_=rsm_req)
|
||||
complete = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue