From 295a98fd31b0019b90834da9c3680dda799f5e31 Mon Sep 17 00:00:00 2001 From: Boris Pek Date: Thu, 20 Jun 2024 15:50:07 +0300 Subject: [PATCH] Current version of Psi+ is 1.5.1987 It is based on: * psi: 257a7e84 * plugins: 7a65467 * psimedia: 478567e * resources: e32ef4b --- src/vcardfactory.cpp | 7 ++++++- version | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/vcardfactory.cpp b/src/vcardfactory.cpp index 302f1c2f..bb342c80 100644 --- a/src/vcardfactory.cpp +++ b/src/vcardfactory.cpp @@ -28,7 +28,7 @@ #include "profiles.h" #include "psiaccount.h" -#include "xmpp/xmpp-im/xmpp_caps.h" +// #include "xmpp/xmpp-im/xmpp_caps.h" #include "xmpp/xmpp-im/xmpp_pubsubitem.h" #include "xmpp/xmpp-im/xmpp_serverinfomanager.h" #include "xmpp/xmpp-im/xmpp_vcard4.h" @@ -414,6 +414,11 @@ void VCardRequest::executePubSub(PsiAccount *pa) if (task->success()) { if (!task->items().empty()) { d->vcard = VCard4::VCard(task->items().last().payload()); + } else { + if (ppa) { + executeVCardTemp(ppa); + return; + } } } else if (!task->error().isCancel() || task->error().condition != XMPP::Stanza::Error::ErrorCond::ItemNotFound) { diff --git a/version b/version index 5cd09a59..d81863e6 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.5.1986 (2024-06-20, 5593ef50) +1.5.1987 (2024-06-20, 257a7e84)