Closed pixeldesu closed 1 year ago
I should be able to block a user I have muted.
An error occurs and the user is not blocked.
(From development context)
This is the error in the backend:
ActiveRecord::RecordNotUnique at /ajax/create_relationship ========================================================== PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_relationships_on_source_id_and_target_id" DETAIL: Key (source_id, target_id)=(109843553042504847, 109843587838291678) already exists.
Retrospring 2023.1017.1
This issue has been linked to a Canny post: Mute & Blocking mutually exclusive :tada:
Steps to reproduce the problem
Expected behaviour
I should be able to block a user I have muted.
Actual behaviour
An error occurs and the user is not blocked.
Detailed description
(From development context)
This is the error in the backend:
Specifications
Retrospring 2023.1017.1