fixup 75e51b5
This commit is contained in:
parent
75e51b5ed3
commit
cb3c896bdb
|
@ -34,7 +34,7 @@ public class MessageStorage : StreamInteractionModule, Object {
|
||||||
if (messages[conversation].size > 0) {
|
if (messages[conversation].size > 0) {
|
||||||
return messages[conversation][int.max(messages[conversation].size - count - 1, 0) : messages[conversation].size];
|
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) {
|
public Message? get_last_message(Conversation conversation) {
|
||||||
|
|
Loading…
Reference in a new issue