The conversation history is in a reversed list. sadrul.conv.persistent

Sat, 25 Aug 2007 11:18:26 +0000

author
Sadrul Habib Chowdhury <sadrul@pidgin.im>
date
Sat, 25 Aug 2007 11:18:26 +0000
branch
sadrul.conv.persistent
changeset 19597
6f62c9bb1c80
parent 19596
93f6139d4aaa
child 19598
86dfc5613674

The conversation history is in a reversed list.

finch/libgnt/pygnt/dbus-gnt file | annotate | diff | comparison | revisions
--- a/finch/libgnt/pygnt/dbus-gnt	Sat Aug 25 10:33:00 2007 +0000
+++ b/finch/libgnt/pygnt/dbus-gnt	Sat Aug 25 11:18:26 2007 +0000
@@ -110,6 +110,7 @@
     
     if history:
         msgs = purple.PurpleConversationGetMessageHistory(conv)
+        msgs.reverse()
         for msg in msgs:
             who = purple.PurpleConversationMessageGetSender(msg)
             what = purple.PurpleConversationMessageGetMessage(msg)

mercurial