refac
This commit is contained in:
1 parent
79d7e67e51
commit
952822ad5d
1 file changed
+1
-1
@@ -890,7 +890,7 @@
|
||||
return null;
|
||||
});
|
||||
|
||||
if (res !== null) {
|
||||
if (res !== null && res.messages) {
|
||||
// Update chat history with the new messages
|
||||
for (const message of res.messages) {
|
||||
history.messages[message.id] = {
|
||||
|
||||
Reference in new issue
Block a user