Skip to content
Snippets Groups Projects
Unverified Commit 7206fb78 authored by Hugo Costa's avatar Hugo Costa Committed by Tasso Evangelista
Browse files

[FIX] Fix broken legacy message view (#26819)

parent 34df27ac
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ function messagesHistory() {
const query: Mongo.Query<IMessage> = {
rid,
_hidden: { $ne: true },
$or: [{ tmid: { $exists: true } }, { tshow: { $eq: true } }],
$or: [{ tmid: { $exists: false } }, { tshow: { $eq: true } }],
...(hideMessagesOfType.size && { t: { $nin: Array.from(hideMessagesOfType.values()) } }),
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment