Talk - how to delete older messages after Message Expiration

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.5snap2 and 25.0.6snap1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.2
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 8.1.16

The issue you are facing:

One of my Nextcloud Talk Channels has Conversation settings → Message Expiration → 4 weeks.
But I see some messages older than 3 months on this channel.
How can I fix it?
Is there some way how to delete these older messages?

Message expiration only works for messages send after the expiration was set. So if there were messages in the chat before enabling expiration, those will not be deleted. You need to clear the chat history for that or create a new conversation from scratch.

Thanks for your reply.
Can you help me how to clear the chat history?
What should I do?

When you open the conversation settings there’s a option at the bottom to clear the history (if you’re a moderator)

I am trying to find the settings you are talking about but I do not see it there.
I am Admin on the Nextcloud server.

What am I doing wrong?