aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-11-04 20:19:34 +0100
committerfiaxh <git@mx.ax.lt>2018-11-04 20:19:34 +0100
commit3af9faac82dc19d5d9059d190cc17ce7186e4a10 (patch)
treea47c7248e2c021264822b6f6398750df52da3dc9 /main/src/ui/conversation_summary
parentddd17e720e9170ea7016e2fdf80f91808666ec36 (diff)
downloaddino-3af9faac82dc19d5d9059d190cc17ce7186e4a10.tar.gz
dino-3af9faac82dc19d5d9059d190cc17ce7186e4a10.zip
Use ContentItems in ConversationSelector, Chat/Groupchat(Pm)Row -> ConversationRow
Diffstat (limited to 'main/src/ui/conversation_summary')
-rw-r--r--main/src/ui/conversation_summary/content_populator.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_summary/content_populator.vala b/main/src/ui/conversation_summary/content_populator.vala
index c19d0d26..754446d3 100644
--- a/main/src/ui/conversation_summary/content_populator.vala
+++ b/main/src/ui/conversation_summary/content_populator.vala
@@ -35,7 +35,7 @@ public class ContentProvider : ContentItemCollection, Object {
public Gee.List<ContentMetaItem> populate_latest(Conversation conversation, int n) {
- Gee.List<ContentItem> items = stream_interactor.get_module(ContentItemStore.IDENTITY).get_latest(conversation, n);
+ Gee.List<ContentItem> items = stream_interactor.get_module(ContentItemStore.IDENTITY).get_n_latest(conversation, n);
Gee.List<ContentMetaItem> ret = new ArrayList<ContentMetaItem>();
foreach (ContentItem item in items) {
ret.add(new ContentMetaItem(item, widget_factory));