EventDelegate: fix not setting fetchProfilesFuture
This commit is contained in:
parent
d127ad978c
commit
a0912106ca
|
@ -82,8 +82,12 @@ HColumnLayout {
|
|||
// HSelectableLabel's MouseArea hover events
|
||||
onCursorShapeChanged: eventList.cursorShape = cursorShape
|
||||
|
||||
Component.onCompleted: if (model.fetch_profile) py.callClientCoro(
|
||||
chat.userId, "get_event_profiles", [chat.roomId, model.id],
|
||||
Component.onCompleted: if (model.fetch_profile)
|
||||
fetchProfilesFuture = py.callClientCoro(
|
||||
chat.userId,
|
||||
"get_event_profiles",
|
||||
[chat.roomId, model.id],
|
||||
() => { fetchProfilesFuture = null }
|
||||
)
|
||||
|
||||
Component.onDestruction:
|
||||
|
|
Loading…
Reference in New Issue
Block a user