igniterealtime/openfire-monitoring-plugin

Without conversation.roomArchivingStanzas, 'from' address is incorrect

Opened this issue · 0 comments

As reported by Micha at https://discourse.igniterealtime.org/t/monitoring-service-plugin-recreates-stanza-from-element-without-nickname/91689

When running the Monitoring service with conversation.roomArchivingStanzas enabled, the stanza will be saved and upon querying the archive it will return this saved stanza, with the ‘from’ element being a MUC occupant with the nickname. (See figure below)

image

However when the conversation.roomArchivingStanzas is disabled, the original stanza will not be saved and the stanza will be recreated with the ‘from’ element having just the username in it.

image

I was expecting the archive would return a from here with a chat occupant ‘JID’ here, including the nickname, which I believe can be retrieved from the database.