Browse Source

retain the message in history object

Danny Liu 1 năm trước cách đây
mục cha
commit
2250387382
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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();