[ekg2-commit] r3891 - trunk/plugins/jabber: trunk/plugins/jabber/jabber_handlers_iq_result.c
SVN commit
svn w toxygen.net
Pon, 10 Mar 2008, 21:20:49 CET
Author: peres
Date: 2008-03-10 21:20:49 +0100 (Mon, 10 Mar 2008)
New Revision: 3891
Modified:
trunk/plugins/jabber/jabber_handlers_iq_result.c
Log:
Prefix, yeah.
Modified: trunk/plugins/jabber/jabber_handlers_iq_result.c
===================================================================
--- trunk/plugins/jabber/jabber_handlers_iq_result.c 2008-03-10 20:10:42 UTC (rev 3890)
+++ trunk/plugins/jabber/jabber_handlers_iq_result.c 2008-03-10 20:20:49 UTC (rev 3891)
@@ -735,9 +735,13 @@
* If it is, then we shall leave the resource (as it points to user),
* and not display vCard-daemon link (as it wouldn't work). */
if ((tmp = xstrchr(from_str, '/'))) {
+ char *mucid;
*tmp = 0;
- if ((ismuc = !!newconference_find(s, from_str)))
+
+ mucid = saprintf("xmpp:%s", from_str);
+ if ((ismuc = !!newconference_find(s, mucid)))
*tmp = '/';
+ xfree(mucid);
}
print("jabber_userinfo_response2", session_name(s), jabberfix(from_str, _("unknown")));
Więcej informacji o liście dyskusyjnej ekg2-commit