aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-04 16:33:51 +0200
committerfiaxh <git@mx.ax.lt>2017-04-04 16:33:51 +0200
commitcb3c896bdbd5f8308e250b9714bac3343f959678 (patch)
tree96a1d9b75352cafc3b6e897f027cec5abb7cd084 /libdino/src/service
parent75e51b5ed3b639b9cf7b16b0ddbee7e362c44ef1 (diff)
downloaddino-cb3c896bdbd5f8308e250b9714bac3343f959678.tar.gz
dino-cb3c896bdbd5f8308e250b9714bac3343f959678.zip
fixup 75e51b5
Diffstat (limited to 'libdino/src/service')
-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) {