From 37f0497e71269ac2e58107b81254279659f64ae7 Mon Sep 17 00:00:00 2001 From: dank074 Date: Thu, 14 Oct 2021 19:49:38 -0500 Subject: [PATCH] updated chatlog parser --- src/views/mod-tools/views/chatlog/ModToolsChatlogView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/mod-tools/views/chatlog/ModToolsChatlogView.tsx b/src/views/mod-tools/views/chatlog/ModToolsChatlogView.tsx index c9dc276e..18f20609 100644 --- a/src/views/mod-tools/views/chatlog/ModToolsChatlogView.tsx +++ b/src/views/mod-tools/views/chatlog/ModToolsChatlogView.tsx @@ -27,9 +27,9 @@ export const ModToolsChatlogView: FC = props => { const parser = event.getParser(); - setRoomName(parser.name); - setMessages(parser.chatlogs); - setLoadedRoomId(parser.id); + setRoomName(parser.data.roomName); + setMessages(parser.data.chatlog); + setLoadedRoomId(parser.data.roomId); }, [ setRoomName, setMessages ]); CreateMessageHook(ModtoolRoomChatlogEvent, onModtoolRoomChatlogEvent);