This differential implements a function that encrypts parts of iOS notification payload that are important to user's privacy
- Pull cookie of currently logged in user from MariaDB.
- Call this function in the keyserver code where iOS notification is constructed with hardcoded cookie id.
- Send notification to the physical iOS device. Log content of send notification and ensure relevant fields are encrypted.
I can't tell where these functions will be used, so it's a little harder to review
|1 ↗||(On Diff #26469)|
|38 ↗||(On Diff #26469)|
Can we save space and set this to 1?
|42 ↗||(On Diff #26469)|
We can remove the async keyword here
|46–48 ↗||(On Diff #26469)|
We can use a shorthand
|52 ↗||(On Diff #26469)|
Does encryptIOSNotification need to be exported?