load_past_events: raise instead of logging errors

This commit is contained in:
miruka
2019-12-20 09:30:57 -04:00
parent 5e26188dfe
commit d9b7118f45
3 changed files with 8 additions and 6 deletions

View File

@@ -133,7 +133,9 @@ Rectangle {
chat.loadingMessages = true
py.callClientCoro(
chat.userId, "load_past_events", [chat.roomId],
chat.userId,
"load_past_events",
[chat.roomId],
moreToLoad => {
try {
eventList.canLoad = moreToLoad