feat: Refetch the latest messages on action cable reconnect in widget (#6996)
This commit is contained in:
@@ -57,9 +57,9 @@ const sendAttachment = ({ attachment }) => {
|
||||
};
|
||||
};
|
||||
|
||||
const getConversation = ({ before }) => ({
|
||||
const getConversation = ({ before, after }) => ({
|
||||
url: `/api/v1/widget/messages${window.location.search}`,
|
||||
params: { before },
|
||||
params: { before, after },
|
||||
});
|
||||
|
||||
const updateMessage = id => ({
|
||||
|
||||
Reference in New Issue
Block a user