Mercurial Hosting > lang
comparison src/delete_chat.js.luan @ 16:f5425a3c1898
add languages
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 30 Jul 2025 10:38:27 -0600 |
parents | b1adec083e44 |
children | 19901d6fb56f |
comparison
equal
deleted
inserted
replaced
15:49e9138b5460 | 16:f5425a3c1898 |
---|---|
13 chat = get_chat_by_id(chat) or error() | 13 chat = get_chat_by_id(chat) or error() |
14 chat.user_id == current_user().id or error() | 14 chat.user_id == current_user().id or error() |
15 chat.delete() | 15 chat.delete() |
16 Io.stdout = Http.response.text_writer() | 16 Io.stdout = Http.response.text_writer() |
17 %> | 17 %> |
18 location = '/'; | 18 location = '/list.html'; |
19 <% | 19 <% |
20 end | 20 end |