It looks like for tigase.org there is no messages in the specified timeframe. I need to check if there is proper handling for that (but it should be).
Andrzej Wójcik (Tigase) commented 5 years ago
I've checked and 0 results is now assumed to be the same as complete, which means "jump to the next period".
Andrzej Wójcik (Tigase) commented 5 years ago
Except from the issue with <iq type="result"/> not being returned by Conversations room, I've found that in some cases when we sync more messages, wrong MAM version could be used. I'll provide proper fix for that tomorrow.
Andrzej Wójcik (Tigase) commented 5 years ago
Added retry and fixed issue with possible usage of wrong MAM version in a query.
select * from chat_history_sync;
results in a lot of (old and stale?) entries that doesn't seem to go away: