Implement method to decrypt desktop notification
Summary:
This differential refactors web notification decryption code so that the part that is common for web and desktop is extracted to separate function and other
functions that are specific for web and desktop are implemented.
Test Plan:
- Test that web notifications are unbroken.
- Testing desktop notifications is not possible without IPC boilerplate that will be introduced in future diffs.
Reviewers: kamil, michal
Reviewed By: michal
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D9962