-
Hi! I have a test environment with ejabberd 23.04 and converse 10.0.0, I wanted to try the long awaited XEP-0425 and ... it works! In converse.js, i'm using the
Why? what can i do to fix? is it a bug or did I make some setting wrong? (I need to keep clear-messages-on-reconnection=true, because I delete the messages with "delete_old_mam_messages" command to clean the chat). At the refresh, it seems to go to read and retrieve the messages from the database, and it seems that these messages have not been retracted in the database, but are still present, and therefore converse shows them in plaintext. It's correct? I tried to modify many options, both those of mod_mam by ejabberd and all those of converse, many hours of tests, but the result is always the same: the key-option of the whole game is clear-messages-on-reconnection, in my case, and I don't know how to fix. please any suggestions, I want to keep clear-messages-on-reconnection=true and I want messages to remain retracted and not visible on refresh. My environment test: Ejabberd: Converse: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
This should remove messages both from in memory room history and from those stored by mod_mam in db, i am pretty sure that was the case when i tested it. Could you attach your ejabberd config or at least configuration of mod_mam that you use and default_db_type if you have this configured? Possibly there is some issue with configuration like yours (and i would like to test that), or could it be that conversejs have its own copy of messages that don't get purged on retraction. |
Beta Was this translation helpful? Give feedback.
-
Ok, here the "almost original" ejabberd and converse config: Note:
|
Beta Was this translation helpful? Give feedback.
-
So if it works in one browser but not other, then this looks like bug in client or browser - ejabberd doesn't sends anything different to different browser, we don't even have information about that in server. I would suggest reporting this in converse. |
Beta Was this translation helpful? Give feedback.
hey @prefiks, I found something useful: the problem is Firefox! on Chrome it works fine.
Do you think Firefox will be supported for this fix? I have tried both the Firefox Stable version and the Developer Edition, and both have the problem; And then: is in Ejabberd or in Converse (or in Firefox) the bug? Do I need to report this to Converse?