diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-26 13:04:57 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-27 14:59:53 +0200 |
commit | a807ded65cd907e04bab7b8cd27b5702b157e3a2 (patch) | |
tree | a9f9991a1ded586219b0f713cf3d7d745b670f1d /main/src/ui/conversation_summary | |
parent | 9840774a87b9d15523ecc04ee4c157270e9abfe5 (diff) | |
download | dino-a807ded65cd907e04bab7b8cd27b5702b157e3a2.tar.gz dino-a807ded65cd907e04bab7b8cd27b5702b157e3a2.zip |
small fixes
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r-- | main/src/ui/conversation_summary/view.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_summary/view.vala b/main/src/ui/conversation_summary/view.vala index 5b49f97e..693f7164 100644 --- a/main/src/ui/conversation_summary/view.vala +++ b/main/src/ui/conversation_summary/view.vala @@ -67,7 +67,7 @@ public class View : Box { ArrayList<Object> objects = new ArrayList<Object>(); Gee.List<Entities.Message> messages = stream_interactor.get_module(MessageStorage.IDENTITY).get_messages(conversation); if (messages.size > 0) { - earliest_message = messages[0]; + earliest_message = messages[messages.size -1]; objects.add_all(messages); } HashMap<Jid, ArrayList<Show>>? shows = stream_interactor.get_module(PresenceManager.IDENTITY).get_shows(conversation.counterpart, conversation.account); |