Project

General

Profile

Support for tagging messages in archive issue, is it implemented?

Ale Llois
Added over 3 years ago

According to the wiki:

https://projects.tigase.org/projects/message-archiving/wiki/

there should be support for message tagging and querying based on the tags. I've successfully installed tigase in my server and it runs perfectly. I've added the following line to init.properties to activate message archiving for everyone:

sess-man/plugins-conf/message-archive-xep-0136/required-store-method=message

It's working as well. However when I try to add support for tags using the line:

message-archiving/tags-support[B]=true

It doesn't seem to work. I've seen in the server database that the table tig_ma_msgs is correctly being filled with messages.

However the tables : tig_ma_tags, and tig_ma_msgs_tags remain empty, even when I send messages of this type:

test

test

#test

Trying the query:

<tag>#test</tag>

I get:

#test

Feature not supported yet.

I wanted to know if the feature is not yet implemented or maybe I'm not configuring my server correctly.

I'm using the latest version 7.0.2, installed using the jar:

https://projects.tigase.org/attachments/download/2663/tigase-server-7.0.2-b3821.jar

Thank you!


Replies (2)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 3 years ago

As stated on project wiki page https://projects.tigase.org/projects/message-archiving/wiki/Support_for_tagging_messages:

Tagging can be done only by user sending message as to tag message tag needs to be included in message content (message body to be exact).

Currently there are 2 types of tags supported:

hashtag - words prefixed by "hash" (#) are stored with prefix and used as tag, ie. #Tigase

mention - words prefixed by "at" (@) are stored with prefix and used as tag, ie. @Tigase

which explains, why tags added as tag element do not work.

Added by Ale Llois over 3 years ago

Oh, thank you very much for the reply. I had misunderstood how to tag the message.

    (1-2/2)