Skip to content
Discussion options

You must be logged in to vote

Umm, if I perform a call like you do, no error is returned, but no messages are removed. So, it doesn't work correctly.

$ ejabberdctl remove_mam_for_user_with_peer sala1@conference.localhost localhost user1@localhost
MAM archive removed

$ echo $?
0

Looking at the command help, you are not providing the arguments correctly. The user argument should be only the username (in this case the roomname) See https://docs.ejabberd.im/developer/ejabberd-api/admin-api/#remove-mam-for-user-with-peer

But, when I execute the command with the correct arguments, it crashes:

$ ejabberdctl remove_mam_for_user_with_peer room1 conference.localhost user1@localhost
Unhandled exception occurred executing the c…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mremond
Comment options

@badlop
Comment options

Answer selected by mremond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants