Ryan Zhao
8b3d3fffb5
Merge branch 'dev' into voice-calls-2
3 years ago
RyanZhao
7cd0079b37
Merge pull request #599 from mpretty-cyro/fix/update-last-message-hash-after-registering-jobs
...
Fix - Update last message hash after registering jobs
3 years ago
RyanZhao
74f1d9a6d4
Merge pull request #596 from mpretty-cyro/feature/improve-open-group-deletion-processing
...
Performance: Improve open group deletion processing
3 years ago
Ryan Zhao
34355c74ee
add some comments
3 years ago
Ryan Zhao
9df52a0a89
implement new approach for call reconnection
3 years ago
Ryan Zhao
fdde7e4fe0
Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call
3 years ago
Morgan Pretty
3663e63bc7
Swapped the Config message 'filter' to a 'compactMap' because apparently that doesn't crash
3 years ago
Morgan Pretty
212c5e87aa
Re-added the transaction requirement when generating the current config message
3 years ago
Morgan Pretty
29c53223e0
More tweaks to fix crash
...
Wrapped the force sync calls within their own Storage.write blocks to ensure they have the latest data and aren't accessing a transaction completed in a different thread
Reverted a number of the unneeded changes
3 years ago
Morgan Pretty
1214005c59
Updated the cachedEncodedPublicKey to be Atomic
...
Added the Atomic wrapper for thread safe variables
3 years ago
Ryan Zhao
cef9a2a076
Merge branch 'fix/tweaks-to-config-message-generation' of https://github.com/mpretty-cyro/session-ios into bug-fix-for-call
3 years ago
Morgan Pretty
f8dfbd4244
Reverting change and fixing a force-cast crash
3 years ago
Morgan Pretty
6205e72eab
Change to make the 'getUser(using:)' method more consistent
3 years ago
Morgan Pretty
7aa1221987
Tweaks to the ConfigurationMessage generation logic
...
Removed force unwraps
Updated the closed group storage methods to take a transaction parameter
3 years ago
Morgan Pretty
b90904ebbd
Updated the code to only update the last message hash once the MessageReceiveJobs have been created
3 years ago
Morgan Pretty
4e26ece92a
Merge branch 'dev' into feature/improve-open-group-deletion-processing
3 years ago
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
2a6d453809
Merge branch 'dev' into voice-calls-2
3 years ago
Morgan Pretty
c9edac4ea8
Updated the code to add the port if present...
3 years ago
Morgan Pretty
7ae1342341
Fixed an issue where open groups with no scheme in the url might not match correctly
3 years ago
Ryan Zhao
37614fe3d8
Merge branch 'dev' into voice-calls-2
3 years ago
RyanZhao
c7bf20dd85
Merge pull request #593 from mpretty-cyro/fix/duplicate-open-groups-from-url-differences
...
Fix duplicate open groups from url differences
3 years ago
RyanZhao
9e020948d6
Merge pull request #594 from RyanRory/bug-fixes-1.11.23
...
Bug fixes for 1.11.22
3 years ago
RyanZhao
34bc0e54d6
Merge pull request #590 from mpretty-cyro/fix/open-group-url-parsing
...
Fix for parsing open group urls with no scheme
3 years ago
RyanZhao
c1632bee36
Merge pull request #589 from mpretty-cyro/fix/ensure-contacts-blocked-state-syncs-correctly
...
Fix to ensure contacts blocked state syncs correctly
3 years ago
Morgan Pretty
83fa679574
Fixed some incorrect logic (previously prevented joining other rooms in a server)
3 years ago
Ryan Zhao
8652268557
add logs & fix PN
3 years ago
Morgan Pretty
d3b54b84d0
Prevent the user from joining duplicate open groups due to url differences
...
Updated the OpenGroupManagerV2 to handle HTTP scheme variants and official host variants when checking if the user is already in an open group
3 years ago
Morgan Pretty
452614d190
Fixed a bug where the OpenGroup url parsing wasn't working for a certain URL structure
3 years ago
Morgan Pretty
d4c0acb2a7
Updated the configuration message to sync the blocked state correctly
3 years ago
Morgan Pretty
2e10ccf99d
Updated the code to cache the retrieval of the user public key
3 years ago
Ryan Zhao
343a3afc0a
Merge branch 'message-replication-fix' into voice-calls-2
3 years ago
Ryan Zhao
6f927a5003
minor refactor
3 years ago
Ryan Zhao
a1e47419c8
minor refactor
3 years ago
Ryan Zhao
b920dbcc10
check if the incoming message is already in database before persisting
3 years ago
Ryan Zhao
5f9bc4c55f
Merge branch 'unread-metion-fix' into voice-calls-2
3 years ago
Ryan Zhao
48c74d9476
refactor to apply this logic to unread message count
3 years ago
Ryan Zhao
06958babcb
fix unread mention indicator showing after the message is deleted
3 years ago
Ryan Zhao
a31fb7f957
Merge branch 'dev' into voice-calls-2
3 years ago
Ryan Zhao
30e1f34782
fix configuration message may include contacts that shouldn't be visible
3 years ago
Morgan Pretty
0e15c63e6b
Fixed a case where a the share extension wasn't using a transaction version of a method
3 years ago
Morgan Pretty
c2e13f02bc
Fixed a crash which could occur while processing message request notifications due to not using a DB transaction
3 years ago
Ryan Zhao
f489e78deb
Merge branch 'dev' into voice-calls-2
3 years ago
RyanZhao
20f99df0be
Merge pull request #577 from RyanRory/bug-fix-1-11-22
...
Bug fix 1.11.22
3 years ago
Ryan Zhao
e72f0f528d
fix notification body for attachments
3 years ago
Morgan Pretty
3e380ede4e
A couple of message request fixes
...
Added an error state to the OpenGroupSuggestionGrid
Fixed a bug where the settings button wouldn't appear for the sender of a message request once approved
3 years ago
Ryan Zhao
5c7176982c
Merge branch 'dev' into voice-calls-2
3 years ago
Morgan Pretty
c0e90152ce
Fixes for config message handling
...
Updated the config message handling to try fetch the existing contact first before creating a new one
Updated the OpenGroupManagerV2 to avoid joining an open group if the user already has a thread for it and is polling it
3 years ago
Ryan Zhao
2a0f70b3a8
Merge branch 'dev' into voice-calls-2
3 years ago
RyanZhao
d80042cf7f
Merge pull request #573 from mpretty-cyro/fix/only-sync-closed-groups-once
...
Fix to Only Sync Closed Groups Once
3 years ago