-
I've changed method responsible for retrieving messages for database - now it will return every element inside
<messsage/>
element.But as in most cases we would like to store only
<body/>
element, I've added support for setting what parts or<message/>
will be saved.Now by default if message archiving is enabled only
<body/>
element will be saved. To save other elements of a<message/>
as well, you need to send following xml to server to enable full message logging for this account<iq type='set' id='pref2'> <pref xmlns='urn:xmpp:archive'> <default otr='forbid' save='message'/> </pref> </iq>
or you will need to set required message logging to
message
by adding following line toetc/init.properties
which will force full message logging for all accounts on this serversess-man/plugins-conf/message-archive-xep-0136/required-store-method=message
Type |
New Feature
|
Priority |
Normal
|
Assignee | |
RedmineID |
1777
|
Issue Votes (0)
Watchers (0)
Currently Message Archiving component save genuine stanza in database. When XMPP client retrieve message only body element is returned. For instance:
When database contains message:
then Message Archiving component return:
It would be nice if additional fields appear in response :)
More details: [[https://projects.tigase.org/boards/19/topics/1616?r=1620#message-1620]]