powered by Jive Software

MamManager and MUC

Hello, when i am using mam manager and jid MUC, I am getting 0 messages. Why?

When a was in debug mode , i can see only five messages all( for all chats and it was invite messages from system, but messages from real user have not)

Why?

My code:

val mamQuery = mamManager.queryArchive(
MamManager.MamQueryArgs.builder()
.beforeUid(msg.messageUid)
.limitResultsToJid(JidCreate.from(chatID))
.setResultPageSizeTo(50)
.build())

also i useed:

val mamQuery = mamManager.queryMostRecentPage(mucJid, 20)
and i also got 0.