converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Honor existing mam user configuration

Open mt7479 opened this issue 11 years ago • 6 comments

Steps to reproduce:

  • Server default policy is set to false (no archiving).
  • User enables archiving with an ad-hoc command to his needs.
  • Converse overwrites the user configured policy with it's defaults (false).

The following workaround is possible:

  • Let the default be false
  • Configure the jids you want to archive manually.

Software used:

  • Server: prosody 0.10 hg:d5b416070f70
  • Modules: mod_mam, mod_mam_adoc, mod_storage_xmlarchive

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

mt7479 avatar Sep 28 '15 09:09 mt7479

Can't the current MAM settings be fetched on connect? Assuming that whenever MAM is enabled on the server, some preference will already be set, converse.js should only change those preferences if explicitly requested by the user.

devurandom avatar Feb 16 '16 15:02 devurandom

I think, this is still a big issue which needs attention. I, as a XMPP server administrator, don't want to decide for all users, if they want their private conversations to be stored on the server or not. It should be really up to them, just honoring the existing decision should be enough, an interface for configuration is not needed in converse.js imho.

dl8bh avatar Aug 14 '16 11:08 dl8bh

an interface for configuration is not needed in converse.js imho.

If you assume Converse.js users will also use another client that provides such an interface, yes. I'm not sure how safe that assumption is.

weiss avatar Aug 14 '16 14:08 weiss

any status update about this issue?

darix avatar Dec 14 '16 13:12 darix

Thanks for providing a solution for this! Will test in the next days!

dl8bh avatar Feb 17 '17 07:02 dl8bh

Thanks, but it was @throwaway42 who provided a pull request (which I merged and updated a bit).

jcbrand avatar Feb 17 '17 07:02 jcbrand