diff --git a/app/lib/rocketchat.js b/app/lib/rocketchat.js index 174eaf9a7..269c4be77 100644 --- a/app/lib/rocketchat.js +++ b/app/lib/rocketchat.js @@ -1520,16 +1520,7 @@ const RocketChat = { return this.sdk.get(`${this.roomTypeToApiType(type)}.files`, { roomId, offset, - sort: { uploadedAt: -1 }, - fields: { - name: 1, - description: 1, - size: 1, - type: 1, - uploadedAt: 1, - url: 1, - userId: 1 - } + sort: { uploadedAt: -1 } }); }, getMessages(roomId, type, query, offset) {