summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-15 18:54:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-15 18:54:58 +0300
commit7dccdb7fa7acd2de4bd9dc6dd4558968c1be0599 (patch)
tree4707403e5df11f44f57b20fd49d59a70d1b85d51 /protocols/JabberG/src/jabber_iqid.cpp
parent1b9b12484af65dbae34eb59baea6c8dc9c685c28 (diff)
Jabber: no need to pass jid inside SendGetVcard()
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_iqid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 8c9ecf530e..d390839d85 100755
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -207,12 +207,12 @@ void CJabberProto::OnLoggedIn()
ptrA szServerName(getStringA("LastLoggedServer"));
if (szServerName == nullptr || mir_strcmp(m_ThreadInfo->conn.server, szServerName)) {
setString("LastLoggedServer", m_ThreadInfo->conn.server);
- SendGetVcard();
+ SendGetVcard(0);
}
else {
time_t lastReadVcard(getDword("LastGetVcard"));
if (time(0) - lastReadVcard > 84600) // read vcard on login once a day
- SendGetVcard();
+ SendGetVcard(0);
}
m_pepServices.ResetPublishAll();