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

Ale Llois
Added over 3 years ago

According to the 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 to activate message archiving for everyone:


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


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:




Trying the query:


I get:


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:

Thank you!

Replies (2)

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

As stated on project wiki page

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.