RoomDelegate subtitle, take only 1 arg for getUser

This commit is contained in:
miruka
2019-07-04 00:24:21 -04:00
parent 5fa2892fda
commit 63645b73a5
10 changed files with 107 additions and 91 deletions

View File

@@ -6,6 +6,7 @@ function onAccountDeleted(user_id) {
models.accounts.popWhere({"userId": user_id}, 1)
}
// TODO: get updated from nio rooms
function onUserUpdated(user_id, display_name, avatar_url, status_message) {
models.users.upsert({"userId": user_id}, {
"userId": user_id,