# HG changeset patch # User Goffi # Date 1544573595 -3600 # Node ID c6be5962752d7824c30ab1ba1d63d139aaa397ae # Parent 14e1db0c138362610508e542f7ede3b90aca9033 plugin XEP-0045: request 50 *last* MAM messages if new archive diff -r 14e1db0c1383 -r c6be5962752d sat/plugins/plugin_xep_0045.py --- a/sat/plugins/plugin_xep_0045.py Wed Dec 12 00:53:14 2018 +0100 +++ b/sat/plugins/plugin_xep_0045.py Wed Dec 12 01:13:15 2018 +0100 @@ -876,7 +876,7 @@ 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