Commit Graph

32 Commits (dfbee2a520740f8103ded171601b8a7fe99d5fbe)

Author SHA1 Message Date
Morgan Pretty 9db5083cc5 Built out the Message Request functionality
Added the MessageRequestsViewController
Added a 'Message Requests' button to the settings screen
Added accept/reject buttons for message requests to the ConversationVC
Added the ability to hide the message request item on the HomeVC (re-appears if you get a new message request)
Added code to handle an edge-case where the message request approval state wouldn't be returned to the sender due to the recipient running an old version of the app
Prevented contacts which aren't associated with an approved thread from appearing when creating a closed group
Disabled notifications for threads which aren't approved
Updated the app notification count to exclude unapproved messages
Updated the app to ignore closed group creation messages if the group has no admins which are approved contacts
Fixed up the keyboard avoidance behaviour in the ConversationVC
Fixed a couple of minor interaction issues which affected some devices
Fixed an issue where the database migrations would run on the 2nd launch when creating a new account (causing odd behaviours)
ryanzhao ecf92ceeea fix PN sound settings not applying to remote PNs
ryanzhao 5553d4e068 fix default PN content
ryanzhao 9690ce1a9e prevent self-send message PN
ryanzhao 340d2abc05 cancel notification if there is an outgoing message coming in
ryanzhao 96f9948781 fix self-send closed group messages won't show
ryanzhao e045808070 Revert "WIP: download attachments in NSE"
This reverts commit 6fd5bbeab1.
ryanzhao 454003c027 Revert "WIP: make the attachment download work in NSE"
This reverts commit 7295c14e17.
ryanzhao 7295c14e17 WIP: make the attachment download work in NSE
ryanzhao 6fd5bbeab1 WIP: download attachments in NSE
ryanzhao b7289e72a3 add accessibility to attachment buttons
Niels Andriesse 45042a1acf Fix typos
ryanzhao 111bbd0646 handle unsend requests in NSE
Niels Andriesse eb29b5d641 Minor cleanup
Ryan Zhao 7c82ede432 fix a minor mention issue that it won't show the name if there is no white space after a mention
Ryan Zhao 12a995bc91 enable only notify mention for closed groups
Ryan Zhao ad351d8009 clean
ryanzhao a951c84e48 prepare for push notification filter
Niels Andriesse d2161545d6 WIP
Brice-W 1f9cd92bce set expiration timer for new group members
nielsandriesse 4f80722b37 Respect mute settings in NSE
Niels Andriesse dd0baf0d97 Unify contacts APIs
Niels Andriesse c9c83da3dc Rename ClosedGroupUpdateV2 → ClosedGroupControlMessage
Niels Andriesse 9ea1ccd0c2 Update ClosedGroupUpdate for new message types
Niels Andriesse 474acb5a30 Raise closed group size to 100 members
Niels Andriesse d5228abea9 Update notification extension for V2 closed group updates
Niels Andriesse 438bbccdfa Fix background polling
Niels Andriesse 2396f22ede Also notify for newly created groups
Niels Andriesse 91a75a65b1 Handle group messages in PNs
Niels Andriesse 5cf732709b Handle PN mentions
Niels Andriesse 75f7a7973b Debug PN extension
Niels Andriesse 2c28f6addb Clean