Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.1934
Browse files Browse the repository at this point in the history
It is based on:
* psi: 2ef66ea0
* plugins: 7a65467
* psimedia: 478567e
* resources: e32ef4b
  • Loading branch information
tehnick committed May 27, 2024
1 parent 24f7fb5 commit 9f396a7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
12 changes: 12 additions & 0 deletions src/infodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,18 @@ InfoWidget::InfoWidget(int type, const Jid &j, const VCard &vcard, PsiAccount *p
connect(d->pa->client(), SIGNAL(resourceUnavailable(const Jid &, const Resource &)),
SLOT(contactUnavailable(const Jid &, const Resource &)));
connect(d->pa, SIGNAL(updateContact(const Jid &)), SLOT(contactUpdated(const Jid &)));
connect(VCardFactory::instance(), &VCardFactory::vcardChanged, this,
[this](const Jid &j, VCardFactory::Flags flags) {
if (d->jid.compare(j, flags & VCardFactory::MucUser)) {
auto vcard = (flags & VCardFactory::MucUser) ? VCardFactory::instance()->mucVcard(j)
: VCardFactory::instance()->vcard(j);
if (vcard) {
d->vcard = vcard;
setData(d->vcard);
}
updateNick();
}
});
m_ui.te_status->setReadOnly(true);
m_ui.te_status->setAcceptRichText(true);
PsiRichText::install(m_ui.te_status->document());
Expand Down
7 changes: 6 additions & 1 deletion src/vcardfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include <QObject>
#include <QTextStream>

// #define VCF_DEBUG 1

using VCardRequestQueue = QList<VCardRequest *>;

class VCardFactory::QueuedLoader : public QObject {
Expand Down Expand Up @@ -84,9 +86,12 @@ VCardFactory::VCardFactory() : QObject(qApp), dictSize_(5), queuedLoader_(new Qu
} else {
saveVCard(request->jid(), request->vcard(), request->flags());
}
} else {
}
#ifdef VCF_DEBUG
else {
qDebug() << "vcard query failed for " << request->jid().full() << ": " << request->errorString();
}
#endif
});
}

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1933 (2024-05-27, ad9d69af)
1.5.1934 (2024-05-27, 2ef66ea0)

0 comments on commit 9f396a7

Please sign in to comment.