vn-verdnaturachat/app/views/RoomView/services/getThreadMessages.js

7 lines
272 B
JavaScript

import RocketChat from '../../../lib/rocketchat';
// unlike getMessages, sync isn't required for threads, because loadMissedMessages does it already
const getThreadMessages = (tmid, rid) => RocketChat.loadThreadMessages({ tmid, rid });
export default getThreadMessages;