comparison src/chat.html.luan @ 9:b8b12fd8be22

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 30 Oct 2024 10:18:13 -0600
parents d654e3471132
children f9e6a4cc4f7d
comparison
equal deleted inserted replaced
8:d654e3471132 9:b8b12fd8be22
72 with[user.email] = true 72 with[user.email] = true
73 if size(with) > 1 then 73 if size(with) > 1 then
74 selected = get_chat(with) 74 selected = get_chat(with)
75 end 75 end
76 end 76 end
77 local chats = user.get_chats() 77 local chats = Chat.search( "chat_user_ids:"..user.id, "chat_updated desc" )
78 Io.stdout = Http.response.text_writer() 78 Io.stdout = Http.response.text_writer()
79 %> 79 %>
80 <!doctype html> 80 <!doctype html>
81 <html> 81 <html>
82 <head> 82 <head>