126
125
// place the messaging-menu item only after the contact fetch request is finished, as we can´t simply update
127
126
QObject::connect(request, &QContactAbstractRequest::stateChanged,
128
[request, senderId, participantIds, accountId, messageId, text, timestamp, iconPath, contactAlias, this]() {
127
[request, senderId, participantIds, accountId, messageId, text, timestamp, iconPath, contactAlias, this](QContactAbstractRequest::State newState) {
133
132
// only process the results after the finished state is reached