You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a new install of whatsapp on the iPhone, it creates all the groups before you can restore a backup. The only content in these group is a message "you were added" or "you created this group". If you then use watoi to append the data, this message is appended at the end and shown as most recent, e.g.:
message
message
message
2015: you created this group.
I think the order of appended messages needs to be fixed.
The text was updated successfully, but these errors were encountered:
Whatsapp does not rely on timestamps, stored in messages, but uses a sort field instead. The issue is that I've assumed that all messages, already present in ChatStorage.sqlite (1) , are more recent that ones from the android db (2), which is still valid for normal messages. So I did a simple reordering to put (2) behind (1). Reordering is required, by the way. We have two options here to mitigate the issue with "chat created" type of messages:
Reorder all messages not based on sort field, but on timestamp
Ignore system messages when fixing sort field of (1)
I consider this issue to be a minor inconvenience, though. Accepting PRs. :)
On a new install of whatsapp on the iPhone, it creates all the groups before you can restore a backup. The only content in these group is a message "you were added" or "you created this group". If you then use watoi to append the data, this message is appended at the end and shown as most recent, e.g.:
message
message
message
2015: you created this group.
I think the order of appended messages needs to be fixed.
The text was updated successfully, but these errors were encountered: