Project-Pandora-Game / pandora

https://project-pandora.com
Other
11 stars 3 forks source link

[FIX] Fix Direct Messages key unlocking being case sensitive #792

Closed Jomshir98 closed 3 weeks ago

Jomshir98 commented 4 weeks ago

References

None

About The Pull Request

This PR reworks how client handles Direct Messages in aim to make it much more resilient to failing to unlock the cryptographic key. The primary reason to start that work is a bug with current key format that treats username case-sensitively, but completely breaks down without reasonable user errors if user logs in with differently cased username.

In doing of this I made following changes:

Changelog

Fixes:
- Fixed an issue with Direct Messages that caused them to break if you logged in using username with different CaPtaliZation.
  - Reworked the way Direct Messages handling works on the background to achieve hopefully smooth migration of existing data. If you have any problems with DMs after this update, please contact us.
  - You might get a prompt to unlock your DM cryptographic key the first time you enter Direct Messages screen, in order to migrate to a new key format.

Checklist