Subject: Matrix XMMP - How to retrieve stanza from archived messages.
Hello,
We are using OpenFire version 4.7.1 with the Monitoring Service installed. Following the code which I found here :https://forum.ag-software.net/thread/2140-YAMAQ-Yet-anothe… I have managed to retrieve archived messages body, however we have many scenarios which message body is not enough. We want to retrieve MessageArchive stanza as well. By executing the above query at the server database we find out that message stanza is stored at the data table but is there a way to retrieve it using matrix xmpp ? Any help would be appreciated.
We are using OpenFire version 4.7.1 with the Monitoring Service installed. Following the code which I found here :https://forum.ag-software.net/thread/2140-YAMAQ-Yet-anothe… I have managed to retrieve archived messages body, however we have many scenarios which message body is not enough. We want to retrieve MessageArchive stanza as well. By executing the above query at the server database we find out that message stanza is stored at the data table but is there a way to retrieve it using matrix xmpp ? Any help would be appreciated.
SELECT TOP (1000) [messageID]
,[conversationID]
,[fromJID]
,[fromJIDResource]
,[toJID]
,[toJIDResource]
,[sentDate]
,[stanza]
,[body]
,[isPMforJID]
FROM [OpenFire].[dbo].[ofMessageArchive]
,[conversationID]
,[fromJID]
,[fromJIDResource]
,[toJID]
,[toJIDResource]
,[sentDate]
,[stanza]
,[body]
,[isPMforJID]
FROM [OpenFire].[dbo].[ofMessageArchive]