fix(chat): keep sent messages in view
This commit is contained in:
@@ -41,6 +41,7 @@ const appendGuestUserMessageAction = historyMachineSetup.assign(
|
||||
date: today,
|
||||
},
|
||||
],
|
||||
outgoingMessageRevision: context.outgoingMessageRevision + 1,
|
||||
upgradePromptVisible: false,
|
||||
upgradeReason: null,
|
||||
};
|
||||
@@ -67,6 +68,7 @@ const appendUserMessageAction = historyMachineSetup.assign(
|
||||
date: today,
|
||||
},
|
||||
],
|
||||
outgoingMessageRevision: context.outgoingMessageRevision + 1,
|
||||
upgradePromptVisible: false,
|
||||
upgradeReason: null,
|
||||
};
|
||||
@@ -125,6 +127,7 @@ const appendGuestUserImageAction = historyMachineSetup.assign(
|
||||
imageUrl: event.imageBase64,
|
||||
},
|
||||
],
|
||||
outgoingMessageRevision: context.outgoingMessageRevision + 1,
|
||||
...beginPendingReply(context),
|
||||
upgradePromptVisible: false,
|
||||
upgradeReason: null,
|
||||
@@ -151,6 +154,7 @@ const appendUserImageAction = historyMachineSetup.assign(
|
||||
imageUrl: event.imageBase64,
|
||||
},
|
||||
],
|
||||
outgoingMessageRevision: context.outgoingMessageRevision + 1,
|
||||
...beginPendingReply(context),
|
||||
upgradePromptVisible: false,
|
||||
upgradeReason: null,
|
||||
|
||||
Reference in New Issue
Block a user