/soc/2015/jgeboski/facebook: 02346252cb7e: facebook: fixed times...

James Geboski jgeboski at gmail.com
Tue Aug 11 23:54:05 EDT 2015


Changeset: 02346252cb7ea9bc8dcc7c5131a965aaafcc7e3b
Author:	 James Geboski <jgeboski at gmail.com>
Date:	 2015-08-11 23:53 -0400
Branch:	 facebook
URL: https://hg.pidgin.im/soc/2015/jgeboski/facebook/rev/02346252cb7e

Description:

facebook: fixed timestamps not being set for self messages

diffstat:

 libpurple/protocols/facebook/util.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff --git a/libpurple/protocols/facebook/util.c b/libpurple/protocols/facebook/util.c
--- a/libpurple/protocols/facebook/util.c
+++ b/libpurple/protocols/facebook/util.c
@@ -434,6 +434,7 @@ fb_util_serv_got_im(PurpleConnection *gc
 
 	name = purple_account_get_username(acct);
 	msg = purple_message_new_outgoing(name, text, flags);
+	purple_message_set_time(msg, timestamp);
 	purple_conversation_write_message(PURPLE_CONVERSATION(conv), msg);
 }
 
@@ -457,6 +458,7 @@ fb_util_serv_got_chat_in(PurpleConnectio
 
 	name = purple_account_get_username(acct);
 	msg = purple_message_new_outgoing(name, text, flags);
+	purple_message_set_time(msg, timestamp);
 	purple_conversation_write_message(PURPLE_CONVERSATION(conv), msg);
 }
 



More information about the Commits mailing list