-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
at_client "crashes" when decryptionService.decrypt() returns a null #458
Comments
After digging into the problem that causes the issue is in :- lines 38/39
I put in a null check and the app now works as it should
|
Although that fixes things it is probably not the ideal solution.. Would appreciate your thoughts on the best way to fix the bug. @VJag @gkc @murali-shris @kalluriramkumar |
With this 'fix' in place still get plenty of errors from the contact lib @sarika01 / @murali-shris My guess is that these are contact entries that we used to be able to decrypt but cannot now as the @ sign keys changed for some reason.. If that is the case I think we should remove (carefully :-)) the contact if is not longer decryptable ... What do you think ?
|
It is possible to do remove a 'no longer valid' contact. One way to do that is:
@OverRide
The reason we see these errors all the time is that we have not yet removed that contact. |
I think even better would be to return a bad contact back so that the "user will not have silently removed without any information" kind of experience. For that we have to do the following:
Now the app can still show the contact as invalid and the user can have options to "delete" or "delete and add again" etc.. I personally prefer this approach where the Contact is returned back as a bad one. |
Fix in at_client |
[gkc] Update
|
[gkc] Update 2023-02-20
Describe the bug
This was originally noticed in spacechat with some @ signs working just fine and others not logging in or not seeing chats.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The library should not error
Were you using an @application when the bug was found?
Additional context
This is a low level issue so could have impact across other places
The text was updated successfully, but these errors were encountered: