verdnatura-chat/app/views/RoomView/services/readMessages.ts

6 lines
202 B
TypeScript
Raw Normal View History

2021-12-03 21:26:47 +00:00
import RocketChat from '../../../lib/rocketchat';
2021-12-03 23:19:44 +00:00
const readMessages = (rid: string, newLastOpen: Date): Promise<void> => RocketChat.readMessages(rid, newLastOpen, true);
2021-12-03 21:26:47 +00:00
export default readMessages;