cpw.qulogic.msnp16: ec86c38c: Messages without TrID's should not be sa...

qulogic at pidgin.im qulogic at pidgin.im
Sat Mar 13 04:10:44 EST 2010


-----------------------------------------------------------------
Revision: ec86c38c8972db91610a5b7beb2dc49a98e1810e
Ancestor: 7ee511594bdd41df12a7c8a273b52ee77c0206de
Author: qulogic at pidgin.im
Date: 2010-03-13T07:26:25
Branch: im.pidgin.cpw.qulogic.msnp16
URL: http://d.pidgin.im/viewmtn/revision/info/ec86c38c8972db91610a5b7beb2dc49a98e1810e

Modified files:
        libpurple/protocols/msn/cmdproc.c

ChangeLog: 

Messages without TrID's should not be saved in the history.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/cmdproc.c	9b4e46a60fd3ec6b7c9182486d54616541b621f1
+++ libpurple/protocols/msn/cmdproc.c	639df06d68ed24d23a3a76e40f75752220549c43
@@ -122,7 +122,8 @@ msn_cmdproc_send_trans(MsnCmdProc *cmdpr
 		return;
 	}
 
-	msn_history_add(cmdproc->history, trans);
+	if (trans->send_trId)
+		msn_history_add(cmdproc->history, trans);
 
 	data = msn_transaction_to_string(trans);
 


More information about the Commits mailing list