-
-
Notifications
You must be signed in to change notification settings - Fork 509
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If chat window configured in a single room mode without any messages in a room yet: it shows infinite loading.
Per Vue debugger panel: fetch-messages not being fired. According to source code, problem seems to be exactly in this line:
https://github.com/antoine92190/vue-advanced-chat/blob/master/src/ChatWindow/Room/Room.vue#L51
So if there is no messages: fetch-messages will not be fired to load "more" messages.
Expected behavior
Expected that "fetch-messages" will be always fired which will allow custom code to load messages to a room.
Screenshots
Device (please complete the following information)
- OS: Win10
- Browser: Chrome 82
- Package version: 0.8.3
Additional Context
fetch-messages handler defined through code: not through attribute. But it seems it should not be a problem.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
