Commit Graph

107 Commits (662ec71116af8933dcf11420e42ba3e8dc2246c2)

Author SHA1 Message Date
Morgan Pretty 1492232224 Made some optimisations to open group deletion handling
Added a new OpenGroupServerIdLookup to make it easier to get a database id via an open group server id
Added a migration to generate the above data
Updated the handleCompactBody method to stop early if there are no messages to delete (would previously enumerate all interactions regardless)
Updated the handleCompactBody to fetch the mapping for the deleted message so we can avoid enumerating all interactions
3 years ago
Ryan Zhao 6b231316ee fix & improve voice message preview in home screen 3 years ago
ryanzhao e24ae60d71 fix duplicated disappearing message in closed groups 3 years ago
Ryan Zhao a6df6504c8 Prevent the same ExpirationTimerUpdate to be handled twice 3 years ago
ryanzhao e49431d2eb fix transaction crash 4 years ago
ryanzhao 132ff0416f set server timestamp as open group message's sent timestamp 4 years ago
ryanzhao 1822c7df16 fix duplicated messages sent in closed groups 4 years ago
Ryan Zhao 6e45aed71b Merge branch 'dev' of https://github.com/oxen-io/session-ios into unsend-message 4 years ago
Niels Andriesse e311d2878f Fix message status indicator bug 4 years ago
Niels Andriesse 50d17be43b Fix animation glitch 4 years ago
Niels Andriesse b8c4e6aa93 Avoid unnecessary conversation screen updates 4 years ago
ryanzhao 9953451767 add comment 4 years ago
ryanzhao 8d53a775d2 Revert "delete real message and sync message together"
This reverts commit cc17a952e0.
4 years ago
ryanzhao cc17a952e0 delete real message and sync message together 4 years ago
Niels Andriesse 7f0b87a2b2 Avoid unnecessary conversation screen updates 4 years ago
Ryan Zhao c68350f3d8 store hash value for outgoing messages 4 years ago
Ryan Zhao b827b9e1ba make it work for multi device 4 years ago
Ryan Zhao 6aa865e7b7 delete locally and send unsend request 4 years ago
Niels Andriesse 8a29469eb5 Handle incorrect clock setting 4 years ago
Niels Andriesse ca862096b4 Rename profilePictureEncryptionKey → profileEncryptionKey 4 years ago
Niels Andriesse aa3a18fa7e Don't notify for closed group control messages
This addresses an issue where:

• someone would create a closed group
• on other peoples' devices this control message would be received through a background poll or a push notification
• the received message timestamps table would be updated
• processing wouldn't be finished (during a background poll or while handling a push notification the system can cut you off at any time)
• some of the added users don't see the new closed group because when they open the app and get the control message from their swarm it's considered a duplicate and isn't processed again
4 years ago
Niels Andriesse 3fda8daec9 Merge branch 'dev' into cleanup 4 years ago
Niels Andriesse bd04775cbf Implement open group invitations UI 4 years ago
nielsandriesse 06f795169b Merge branch 'dev' into cleanup 4 years ago
nielsandriesse 0c864454aa Remove duplicate message server ID tracking 4 years ago
Niels Andriesse d742fc1548 Delete V1 OGS & file server 4 years ago
Niels Andriesse 2763ee0d1a Clean 4 years ago
nielsandriesse a76c43973f Increase TTL & remove PoW 4 years ago
Niels Andriesse 516f815521 Debug 4 years ago
nielsandriesse e5764264b3 Debug 4 years ago
nielsandriesse 09b4b7d388 Update MessageSender for V2 open groups 4 years ago
nielsandriesse 81d091c43f Fail gracefully if the user doesn't have a name set 4 years ago
Niels Andriesse 82690259b2 Clean protobuf 4 years ago
Niels Andriesse dd0baf0d97 Unify contacts APIs 4 years ago
Niels Andriesse 73bbaf9ce7 Potentially fix attachment issue 4 years ago
nielsandriesse 2d6bf235d7 Sync expiration timer updates 4 years ago
nielsandriesse ece564988e Allow self-sending of closed group control messages 4 years ago
nielsandriesse 4803b96eb1 Only handle the first config sync message after restoration 4 years ago
Niels Andriesse 57f7bc88eb Fix leftover merge conflicts 4 years ago
Niels Andriesse 7acb6c9ac3 Merge branch 'dev' into multi-device 4 years ago
Niels Andriesse 804377c5a4 Minor refactoring 4 years ago
Niels Andriesse 585fabca03 Debug 4 years ago
Niels Andriesse 6b7b158000 Debug 4 years ago
Niels Andriesse cf333d5e3d Merge branch 'closed-groups' into multi-device 4 years ago
Niels Andriesse 867e9114a6
Merge branch 'dev' into multi-device 4 years ago
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage 4 years ago
Niels Andriesse 9ea1ccd0c2 Update ClosedGroupUpdate for new message types 4 years ago
Niels Andriesse 3e5baca72d Fix open group message deletion 4 years ago
Niels Andriesse eeef067f57 Implement message syncing 4 years ago
Niels Andriesse 0dd692cb42 Fix padding 4 years ago