Drop kwargs support for callCoro/callClientCoro

This commit is contained in:
miruka
2019-07-07 23:38:37 -04:00
parent 4f0ba24373
commit 8dccfffc8b
6 changed files with 22 additions and 25 deletions

View File

@@ -24,9 +24,9 @@ Banner {
"forget": function(button) {
button.loading = true
py.callClientCoro(
chatPage.userId, "room_forget", [chatPage.roomId], {},
function() { button.loading = false }
)
chatPage.userId, "room_forget", [chatPage.roomId], function() {
button.loading = false
})
}
}
}