Rocket.Chat.Apps-engine icon indicating copy to clipboard operation
Rocket.Chat.Apps-engine copied to clipboard

getMessages() function of IRoomRead instance is not implemented

Open CulturalProfessor opened this issue 1 year ago • 3 comments

We are not able to fetch messages in a room. https://github.com/RocketChat/Rocket.Chat.Apps-engine/blob/c773461da5de3666a6d6b8a15e8e4d5e3ff3dd00/src/server/accessors/RoomRead.ts#L27

Screenshot from 2023-03-17 19-08-17

CulturalProfessor avatar Mar 17 '23 13:03 CulturalProfessor

@CulturalProfessor can I work on this issue?

brf153 avatar Mar 04 '24 16:03 brf153

Same issues were raised before. The attempted solution #162 along with the RC portion #17605 could potentially lock the server considering the large number of messages.

@CulturalProfessor Perhaps we can look into the possibility of implementing a query builder with pagination support. We need to fill the gap of getMessages as it could be a potential roadblock for upcoming GSoC projects like AI Chat Summarizer.

JeffreytheCoder avatar Mar 07 '24 19:03 JeffreytheCoder

Guys maybe @d-gubert can verify here if we should work on this ?

CulturalProfessor avatar Mar 09 '24 19:03 CulturalProfessor