EventDelegate: fix not setting fetchProfilesFuture

This commit is contained in:
miruka 2020-07-27 04:22:34 -04:00
parent d127ad978c
commit a0912106ca

View File

@ -82,8 +82,12 @@ HColumnLayout {
// HSelectableLabel's MouseArea hover events // HSelectableLabel's MouseArea hover events
onCursorShapeChanged: eventList.cursorShape = cursorShape onCursorShapeChanged: eventList.cursorShape = cursorShape
Component.onCompleted: if (model.fetch_profile) py.callClientCoro( Component.onCompleted: if (model.fetch_profile)
chat.userId, "get_event_profiles", [chat.roomId, model.id], fetchProfilesFuture = py.callClientCoro(
chat.userId,
"get_event_profiles",
[chat.roomId, model.id],
() => { fetchProfilesFuture = null }
) )
Component.onDestruction: Component.onDestruction: