Async load users.
This commit is contained in:
parent
112c0dc70a
commit
6c21a1e619
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user