Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 90c6b6d

Browse files
authored
Update chat.html
1 parent ae28922 commit 90c6b6d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

capstone/templates/capstone/chat.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{% extends "capstone/layout.html" %}
22
{% block body %}
3+
<script>
4+
window.users = []
5+
{% for thisuser in user_data %}
6+
window.users["{{thisuser.user.username}}"] = {{thisuser.publickey}}
7+
{% endif %}
8+
</script>
39
<div id="body">
410
{% if messages %}
511
{% for message in messages %}

0 commit comments

Comments
 (0)