mirror of
https://github.com/mautrix/whatsapp.git
synced 2025-03-14 14:15:38 +00:00
backfill: add stream order
This commit is contained in:
parent
c0df3872b1
commit
f20db56358
1 changed files with 1 additions and 0 deletions
|
@ -390,6 +390,7 @@ func (wa *WhatsAppClient) convertHistorySyncMessage(
|
|||
ID: waid.MakeMessageID(info.Chat, info.Sender, info.ID),
|
||||
TxnID: networkid.TransactionID(waid.MakeMessageID(info.Chat, info.Sender, info.ID)),
|
||||
Timestamp: info.Timestamp,
|
||||
StreamOrder: info.Timestamp.Unix(),
|
||||
Reactions: make([]*bridgev2.BackfillReaction, len(reactions)),
|
||||
}
|
||||
mediaReq := wa.processFailedMedia(ctx, portal.PortalKey, wrapped.ID, wrapped.ConvertedMessage, true)
|
||||
|
|
Loading…
Add table
Reference in a new issue