fetchLastMessages

fun fetchLastMessages(): Single<List<XMPPMessage>>

Retrieves the last messages available to the current chat. The maximum number of messages to be obtained from the server if available is 15.

Return

A single that will emit a message list. In case of error, it will emit a SippoResourceError.