• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

igniterealtime / Smack / #2501 / 1
39%
master: 40%

Build:
Build:
LAST BUILD BRANCH: debugger_fix_null_messagesTable
DEFAULT BRANCH: master
Ran 26 Jul 2021 06:49PM UTC
Files 1253
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Jul 2021 06:41PM UTC coverage: 39.165% (-0.01%) from 39.177%
#2501.1

push

github-actions

Frank Matheron
MAM - discover what version of MAM is supported by the server

The versions of the MAM extension that a chat server supports are exposed as features.
Version 1 of the MAM is exposed as feature 'urn:xmpp:mam:1', and version 2 as feature 'urn:xmpp:mam:2'.

The v2 of the extension is largely identical to v1, except for a number of additional filtering options.
These filtering options are optional for clients, and are not implemented in the Smack implementation of MAM.

When we ignore the optional fields, the only difference between MAMv1 and MAMv2 is the use of a different
extension namespace (urn:xmpp:mam:2 instead of urn:xmpp:mam:1) and a different FORM_TYPE (again urn:xmpp:mam:2 instead of
urn:xmpp:mam:1).

Smack currently only supports MAMv2 with namespace urn:xmpp:mam:2.

This commit changes Smack to support multiple versions of MAM, and to do discovery of the version of MAM supported by
the archive.

16082 of 41062 relevant lines covered (39.17%)

0.39 hits per line

Source Files on job #2501.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2501
  • ce87fc11 on github
  • Prev Job for on feature/multiversion_mam_support (##2500.1)
  • Next Job for on feature/multiversion_mam_support (##2502.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc