diff src/chat.js @ 54:1d724f187cff

minor fix
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 03 Mar 2025 21:19:12 -0700
parents 9298b04607ae
children 323ddacc1593
line wrap: on
line diff
--- a/src/chat.js	Mon Mar 03 19:39:30 2025 -0700
+++ b/src/chat.js	Mon Mar 03 21:19:12 2025 -0700
@@ -152,6 +152,7 @@
 	input.insertAdjacentHTML('beforebegin',html);
 	fixPosts();
 	input.scrollIntoView({block: 'end'});
+	ajax(`added.js?chat=${currentChatId}`);
 	if( document.hasFocus() )
 		ajax('active.js');
 }