mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 08:00:51 +01:00
updated chatlog parser
This commit is contained in:
parent
78001b6f30
commit
37f0497e71
@ -27,9 +27,9 @@ export const ModToolsChatlogView: FC<ModToolsChatlogViewProps> = 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);
|
||||
|
Loading…
Reference in New Issue
Block a user