Unverified Commit 4e15c25e authored by Reinaldo Neto's avatar Reinaldo Neto Committed by GitHub
Browse files

[FIX] Files screen stopped listing content on server 4.2 (#3541)


Co-authored-by: default avatarDiego Mello <diegolmello@gmail.com>
parent a1cee02f
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment