Async load users.

This commit is contained in:
retoor 2025-05-27 10:57:18 +02:00
parent 112c0dc70a
commit 6c21a1e619

View File

@ -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");