Browse Source

retain the message in history object

Danny Liu 1 year ago
parent
commit
2250387382
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/lib/components/chat/Messages.svelte

+ 0 - 1
src/lib/components/chat/Messages.svelte

@@ -230,7 +230,6 @@
 			history.messages[messageParentId].childrenIds = []
 		}
 
-		delete history.messages[messageId];
 		history.currentId = messageParentId;
 
 		await tick();