verdnatura-chat/app/views/RoomView/services/getThreadMessages.js

7 lines
272 B
JavaScript
Raw Normal View History

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;