Skip to content
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

Rejected identity verification request is displayed as pending on user's profile #13412

Closed
Michal-Status opened this issue Feb 2, 2024 · 3 comments · Fixed by status-im/status-go#4719
Assignees
Labels
bug Something isn't working E:Desktop Contact Requests Anything related to mutual contacts and sending/receiving contact requests
Milestone

Comments

@Michal-Status
Copy link

Michal-Status commented Feb 2, 2024

Bug Report

Description

When a identity verification request is rejected by the recipient, the contact request is still displayed as pending when looking at their profile. In the notification tab it's displayed as rejected. This makes it impossible to send a new verification request to that same contact, because it makes it impossible to cancel a request in that case. Cancelling a request that has not been rejected works as intended.

Steps to reproduce

  1. Send a contact request and accept
  2. Send a ID request to the contact
  3. Recipient of ID request refuses
  4. ID request is shown as refused in activity centre

Expected behavior

  • ID request is not shown as pending in profile menu
  • Cancel button cancels ID request
  • ID request shouldn't be displayed as pending when it has been rejected?

Actual behavior

  • ID request is shown as pending in profile menu
  • Cancel button does not cancel the ID request

Additional Information

Screen.Recording.2024-02-02.at.18.02.33.mov

Console log of cancel button not working:

ERR 2024-02-02 16:32:15.777+00:00 rpc response error                         topics="rpc" tid=27204477 file=core.nim:36 err="\nstatus-go error [methodName:wakuext_cancelVerificationRequest, code:-32000, message:can cancel only pending verification request ]\n"
ERR 2024-02-02 16:32:15.777+00:00 error doing rpc request                    topics="rpc" tid=27204477 file=core.nim:40 methodName=wakuext_cancelVerificationRequest exception="\nstatus-go error [methodName:wakuext_cancelVerificationRequest, code:-32000, message:can cancel only pending verification request ]\n"
ERR 2024-02-02 16:32:15.777+00:00 Error canceling verification request       topics="contacts-service" tid=27204477 file=service.nim:754 msg="\nstatus-go error [methodName:wakuext_cancelVerificationRequest, code:-32000, message:can cancel only pending verification request ]\n""
@Michal-Status Michal-Status added the bug Something isn't working label Feb 2, 2024
@anastasiyaig anastasiyaig added messenger-team E:Desktop Contact Requests Anything related to mutual contacts and sending/receiving contact requests labels Feb 2, 2024
@anastasiyaig anastasiyaig added this to the 2.28.0 Beta milestone Feb 2, 2024
@anastasiyaig
Copy link
Contributor

@iurimatias ^

@jrainville
Copy link
Member

I think the expected behaviour here is that whoever one of the parties cancels the verification, it goes back to the basic state of just being mutual contact. So both of them can then reinitiate the ID verification from scratch. The AC notifi saying canceled is fine, but the profile shouldn't show anything. As seen here:

@Michal-Status
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working E:Desktop Contact Requests Anything related to mutual contacts and sending/receiving contact requests
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants