Hello,
i have a question from users i cant not answer.
We have ST 11.6 running with persistent chat activated and chat history within mongodb is set to one day (TTL or TimeToLive =1).
If the user starts a chat with another sametime user, the sametime chat windows displays all chats with older users (tabbed chat) and their business cards. Also the last chat text is visible within the business card from the users > see pic; even if the chat was one or two months ago.
If i click on the old chat, the history is cleared because of the mongoTTL of one day.
I was asked, why the last chat text was visible within the business card from the last chat if the chat history is set to one day ?
If i start a sametime browser session to the sametime proxy > alle "old chats" are pinned and the last chat text was also visible in the business card information.
So i think this is saved within the mongodb and mongoTTL only clears the history itself.
Is there a way to remove the last text from the business card ?
Thank you for reporting this. Can you confirm if CONVOMAP_MAX_DAYS was also set with the same value as CL_MONGO_HISTORY_TTL. If they are both set with the same results, please open a support case for review.
Hello @Trevor Tallackson
I change - like documented here (https://bit.ly/3OYysID) - the CL_MONGO_HISTORY_TTL Parameter.
There is no CONVOMAP_MAX_DAYS parameter within the chatlogging.ini
Do i need to add this parameter manually and drop the mongo-index again ?
Yes, in sametime.ini, add these parameters to the [stconvomap] section:
CONVOMAP_MAX_DAYS = 1
CONVOMAP_MAX_HOURS = 0
The mongo-index does not need to be dropped again for this change.
Hello @Trevor Tallackson
thank you for the parameter, this solved our problem.
@HCL this parameter should find into the Sametime TTL documentation > https://bit.ly/3OYysID
Unfortunately this setting has some problems.
The intention for Alex' request was to just remove the last chat message within the user history / convomap. At the moment we are experiencing the issue that with this setting the whole convomap is destroyed after 24 hours. This means after 24 hours my list of user and group chats has vanished, even the pinned chats. The request is to remove chat history after 24 hours but to keep user history (who did i chat with) and group chat instances.