diff options
Diffstat (limited to 'examples/GuiClient/mainDialog.cpp')
| -rw-r--r-- | examples/GuiClient/mainDialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/GuiClient/mainDialog.cpp b/examples/GuiClient/mainDialog.cpp index 922e4b13..9688cb10 100644 --- a/examples/GuiClient/mainDialog.cpp +++ b/examples/GuiClient/mainDialog.cpp @@ -244,6 +244,10 @@ void mainDialog::presenceChanged(const QString& bareJid, const QString& resource m_capabilitiesCache.requestInfo(jid, nodeVer); } + if(m_vCardCache.getPhotoHash(bareJid) != pre.photoHash()) + { + m_vCardCache.requestVCard(bareJid); + } // QXmppPresence::Type presenceType = presences.begin().value().getType(); |
