Handle messages with the same received_at
This commit is contained in:
parent
82bf517a69
commit
e536929e35
5 changed files with 60 additions and 19 deletions
|
@ -969,10 +969,12 @@ async function getOlderMessagesByConversation(
|
|||
{
|
||||
limit = 100,
|
||||
receivedAt = Number.MAX_VALUE,
|
||||
messageId,
|
||||
MessageCollection,
|
||||
}: {
|
||||
limit?: number;
|
||||
receivedAt?: number;
|
||||
messageId?: string;
|
||||
MessageCollection: BackboneMessageCollectionType;
|
||||
}
|
||||
) {
|
||||
|
@ -981,6 +983,7 @@ async function getOlderMessagesByConversation(
|
|||
{
|
||||
limit,
|
||||
receivedAt,
|
||||
messageId,
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue