Mercurial Hosting > lang
diff src/lib/Chat.luan @ 41:2a4c83ce3deb
public chat
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 11 Aug 2025 07:58:32 +0900 |
parents | 2737eeedc1d5 |
children | cc20eebaa74a |
line wrap: on
line diff
--- a/src/lib/Chat.luan Sun Aug 10 11:29:02 2025 +0900 +++ b/src/lib/Chat.luan Mon Aug 11 07:58:32 2025 +0900 @@ -33,6 +33,7 @@ voice = doc.voice show_text = doc.show_text == "true" autoplay = doc.autoplay == "true" + is_private = doc.is_private == "true" } end @@ -50,6 +51,7 @@ voice = chat.voice or error() show_text = chat.show_text and "true" or "false" autoplay = chat.autoplay and "true" or "false" + is_private = chat.is_private and "true" or nil } end @@ -86,6 +88,7 @@ name = chat.name show_text = chat.show_text autoplay = chat.autoplay + is_private = chat.is_private } end