changeset 30714:7b310568cd87

Messages without TrID's should not be saved in the history.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sat, 13 Mar 2010 07:26:25 +0000
parents f6b2412e4351
children 59cf1be8eaa7
files libpurple/protocols/msn/cmdproc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/cmdproc.c	Fri Mar 12 02:29:13 2010 +0000
+++ b/libpurple/protocols/msn/cmdproc.c	Sat Mar 13 07:26:25 2010 +0000
@@ -122,7 +122,8 @@
 		return;
 	}
 
-	msn_history_add(cmdproc->history, trans);
+	if (trans->send_trId)
+		msn_history_add(cmdproc->history, trans);
 
 	data = msn_transaction_to_string(trans);