aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/message_storage.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/message_storage.vala b/libdino/src/service/message_storage.vala
index ea765f96..8812d950 100644
--- a/libdino/src/service/message_storage.vala
+++ b/libdino/src/service/message_storage.vala
@@ -34,7 +34,7 @@ public class MessageStorage : StreamInteractionModule, Object {
if (messages[conversation].size > 0) {
return messages[conversation][int.max(messages[conversation].size - count - 1, 0) : messages[conversation].size];
}
- return new ArrayList<Conversation>();
+ return new ArrayList<Message>();
}
public Message? get_last_message(Conversation conversation) {