comparison mcabber/src/jabglue.c @ 1310:a5336c44d4e2

Allow vcard requests to a full jid
author Mikael Berthe <mikael@lilotux.net>
date Mon, 10 Sep 2007 21:56:50 +0200
parents a7d21918234c
children 0dda8238af21
comparison
equal deleted inserted replaced
1309:887f8801418c 1310:a5336c44d4e2
1124 } else 1124 } else
1125 return; 1125 return;
1126 1126
1127 // vCard request 1127 // vCard request
1128 if (reqtype == iqreq_vcard) { 1128 if (reqtype == iqreq_vcard) {
1129 char *bjid = jidtodisp(fjid); 1129 request_vcard(fjid);
1130 request_vcard(bjid); 1130 scr_LogPrint(LPRINT_NORMAL, "Sent vCard request to <%s>", fjid);
1131 scr_LogPrint(LPRINT_NORMAL, "Sent vCard request to <%s>", bjid);
1132 g_free(bjid);
1133 return; 1131 return;
1134 } 1132 }
1135 1133
1136 if (strchr(fjid, JID_RESOURCE_SEPARATOR)) { 1134 if (strchr(fjid, JID_RESOURCE_SEPARATOR)) {
1137 // This is a full JID 1135 // This is a full JID