diff src/get_chat.js.luan @ 33:e2b7f6393dab

add online
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 10 Nov 2024 19:57:14 -0700
parents 809193524522
children 62d04ca486dd
line wrap: on
line diff
--- a/src/get_chat.js.luan	Sat Nov 09 21:41:11 2024 -0700
+++ b/src/get_chat.js.luan	Sun Nov 10 19:57:14 2024 -0700
@@ -13,6 +13,7 @@
 local post_search = Post.search or error()
 local Shared = require "site:/lib/Shared.luan"
 local post_html = Shared.post_html or error()
+local chat_other_users_html = Shared.chat_other_users_html or error()
 local Logging = require "luan:logging/Logging.luan"
 local logger = Logging.logger "get_chat.js"
 
@@ -26,7 +27,7 @@
 	<div top>
 		<h3>
 			<img back onclick="back()" src="/images/arrow_back.svg">
-			<span><%= chat.other_users_email(user) %></span>
+			<span><% chat_other_users_html(chat,user) %></span>
 		</h3>
 		<button onclick='deleteChat()'>delete</button>
 	</div>