soc.2009.transport: 4b610662: Fixed compile error...

hanzz at soc.pidgin.im hanzz at soc.pidgin.im
Wed Jul 1 09:30:51 EDT 2009


-----------------------------------------------------------------
Revision: 4b610662695a93806d716badf9894dd142db44bc
Ancestor: 1f3c62deace0c61b3216a7e65180b01c7c607310
Author: hanzz at soc.pidgin.im
Date: 2009-07-01T13:24:54
Branch: im.pidgin.soc.2009.transport
URL: http://d.pidgin.im/viewmtn/revision/info/4b610662695a93806d716badf9894dd142db44bc

Modified files:
        user.cpp

ChangeLog: 

Fixed compile error...

-------------- next part --------------
============================================================
--- user.cpp	9a29cdeb7f2c3a4adf360e09e8c944b81d17126c
+++ user.cpp	e31a82e9f58808666fcc1adc55dfe3b53e65175f
@@ -607,7 +607,8 @@ void User::purpleConversationWriteIM(Pur
 		m.erase(m.length() - 7, 7);
 	}
 	Log().Get("TEST") << m << " " << message;
-	if (hasFeature(GLOOX_FEATURE_XHTML_IM, m_conversations[name].resource)) && m != message) {
+	std::string res = m_conversations[name].resource;
+	if (hasFeature(GLOOX_FEATURE_XHTML_IM, res) && m != message) {
 		p->parser()->getTag("<body>" + m + "</body>", sendXhtmlTag, stanzaTag);
 		g_free(newline);
 		g_free(strip);


More information about the Commits mailing list