You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the retention policy for messages are activated, and the option "Only delete files" is selected,
the message at top of channels are correctly showing:
Unpinned files older than 30 days are automatically pruned here (messages stay intact)
However, the retention policy message shown on the group info page, shows:
Messages older than 30 days are automatically pruned here
Steps to reproduce:
Go to Administration -> Retention Policy and activate retention policy.
In the global policy section, set "True for "applies to ..." for channels, private groups and direct messages, and select 30 days retention policy.
Set "True" for "Exclude pinned messages"
Set "True" for "Only delete files"
Go to a private group and scroll to the top of the messages to view the message. It will read "Unpinned files older than 30 days are automatically pruned here (messages stay intact)"
Go to the same private group and click the group info page. The retention message will read
"Messages older than 30 days are automatically pruned here"
Expected behavior:
The expectation is that the retention policy message/notice should be the same at the top of the message history and on the group/channel info page.
Actual behavior:
The retention policy message/notice on the group/channel info age does not take "exclude pinned messages" and "only delete files" into account when displaying the message.
Server Setup Information:
Version of Rocket.Chat Server: 0.69.2
Operating System: Linux
Deployment Method: docker
Number of Running Instances: 2
DB Replicaset Oplog: Enabled
NodeJS Version: v8.11.3
MongoDB Version: "latest version provided by docker deployment at (Sep 27, 2018)"
Additional context
N/A
Relevant logs:
N/A
The text was updated successfully, but these errors were encountered:
This block looks like it's properly configured, but it's seemingly behaving as if the filesOnly and excludePinned vars aren't defined, so it always falls back to the "messages" message.
I don't know enough about the project to debug further (or to be sure I debugged correctly to this point, for that matter). But I'm adding a comment in hopes that someone might notice the issue. :)
Description:
When the retention policy for messages are activated, and the option "Only delete files" is selected,
the message at top of channels are correctly showing:
However, the retention policy message shown on the group info page, shows:
Steps to reproduce:
"Messages older than 30 days are automatically pruned here"
Expected behavior:
The expectation is that the retention policy message/notice should be the same at the top of the message history and on the group/channel info page.
Actual behavior:
The retention policy message/notice on the group/channel info age does not take "exclude pinned messages" and "only delete files" into account when displaying the message.
Server Setup Information:
Additional context
N/A
Relevant logs:
N/A
The text was updated successfully, but these errors were encountered: