xabber-android icon indicating copy to clipboard operation
xabber-android copied to clipboard

xep-0313 mam, my server supports it, but xabber says it doesn't

Open ec1warc1 opened this issue 5 years ago • 4 comments

I run a public prosody server at e2e.ee. My server supports message archive management (mam): <iq type='get' id='disco1' to='[email protected]' from='[email protected]'> <query xmlns='http://jabber.org/protocol/disco#info'/> </iq> ... <feature var="urn:xmpp:mam:2"/> But, Xabber says it doesn't. (see image).

Using Conversations, I can delete history, and then download it again, proving that xep-0313 is working.

So, why not on Xabber?

You can create an account on e2e.ee and test it. Thanks! Edward Screenshot_20201130-061546_Xabber

ec1warc1 avatar Nov 30 '20 11:11 ec1warc1

Hi. Looks like your message archive users a "urn:xmpp:mam:2" namespace and Android App is not aware of this newer version of MAM. Can be fixed by just making app recognize this namespace, we'll do it in subsequent updates.

andrewnenakhov avatar Nov 30 '20 11:11 andrewnenakhov

Excellent! Many thanks! - but, I am curious... if "urn:xmpp:mam:2" is new, what is the old namespace? Happy Monday!

ec1warc1 avatar Nov 30 '20 12:11 ec1warc1

what is the old namespace?

"urn:xmpp:mam:1" :-D

andrewnenakhov avatar Nov 30 '20 12:11 andrewnenakhov

Oh! That makes sense! By the way, https://xmpp.org/extensions/xep-0313.html reports on an extended version as well: <feature var='urn:xmpp:mam:2'/> <feature var='urn:xmpp:mam:2#extended'/> clarifying: The 'urn:xmpp:mam:2#extended' feature MUST NOT be advertised by a server without also advertising 'urn:xmpp:mam:2'.

ec1warc1 avatar Nov 30 '20 12:11 ec1warc1