RocketChat / Rocket.Chat.Apps-engine

The Rocket.Chat Apps engine and definitions.

Home Page:https://rocketchat.github.io/Rocket.Chat.Apps-engine/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getMessages() function of IRoomRead instance is not implemented

CulturalProfessor opened this issue · comments

We are not able to fetch messages in a room.

public getMessages(roomId: string): Promise<IterableIterator<IMessage>> {

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

@CulturalProfessor can I work on this issue?

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.

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