vn-verdnaturachat/app/views/RoomView/services/readMessages.ts

6 lines
202 B
TypeScript
Raw Normal View History

import RocketChat from '../../../lib/rocketchat';
const readMessages = (rid: string, newLastOpen: Date): Promise<void> => RocketChat.readMessages(rid, newLastOpen, true);
export default readMessages;