diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_vcard.cpp')
| -rw-r--r-- | protocols/JabberG/src/jabber_vcard.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_vcard.cpp b/protocols/JabberG/src/jabber_vcard.cpp index 41cb908e0b..44c4220af6 100644 --- a/protocols/JabberG/src/jabber_vcard.cpp +++ b/protocols/JabberG/src/jabber_vcard.cpp @@ -1066,9 +1066,11 @@ void CJabberProto::OnUserInfoInit_VCard(WPARAM wParam, LPARAM) uip.szTitle.w = LPGENW("Work");
g_plugin.addUserInfo(wParam, &uip);
- uip.pDialog = new JabberVcardPhotoDlg(this);
- uip.szTitle.w = LPGENW("Photo");
- g_plugin.addUserInfo(wParam, &uip);
+ if (!ServiceExists(MS_AV_GETAVATARBITMAP)) {
+ uip.pDialog = new JabberVcardPhotoDlg(this);
+ uip.szTitle.w = LPGENW("Photo");
+ g_plugin.addUserInfo(wParam, &uip);
+ }
uip.pDialog = new JabberVcardNoteDlg(this);
uip.szTitle.w = LPGENW("Note");
|
