diff --git a/src/snek/static/chat-input.js b/src/snek/static/chat-input.js index e089e73..0d09d30 100644 --- a/src/snek/static/chat-input.js +++ b/src/snek/static/chat-input.js @@ -144,7 +144,9 @@ levenshteinDistance(a, b) { parseInt(this.getAttribute("live-type-interval")) || 3; this.channelUid = this.getAttribute("channel"); - this.users = await app.rpc.getUsers(this.channelUid) + app.rpc.getUsers(this.channelUid).then(users=>{ + this.users = users + }) this.messageUid = null; this.classList.add("chat-input");