Skip to content
Snippets Groups Projects
Commit fa5ee2f3 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fixes #2384

parent b65c6719
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,7 @@ RocketChat.models.Messages = new class extends RocketChat.models._Base
findPinnedByRoom: (roomId, options) ->
query =
t: { $ne: 'rm' }
_hidden: { $ne: true }
pinned: true
rid: roomId
......
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