@phnt @hj I have no goddamn idea because the error is kind of vague and downgrading to 3.12.5 fixes the issue but when running 3.13 I get this error when anyone tries to block or mute:
1) test blocking the conversation with the blocked user is not marked as unread on a reply (Pleroma.Conversation.ParticipationTest)
test/pleroma/conversation/participation_test.exs:315
** (ArgumentError) empty list of fields to update, use the `:replace` option instead
code: {:ok, _user_relationship} = User.block(blocker, blocked)
stacktrace:
(ecto 3.13.2) lib/ecto/repo/schema.ex:927: Ecto.Repo.Schema.on_conflict/6
(ecto 3.13.2) lib/ecto/repo/schema.ex:479: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
(pleroma 3.15.2-1016-g31bf1ec2-froth-zone+test) lib/pleroma/user.ex:2664: Pleroma.User.add_to_block/2
test/pleroma/conversation/participation_test.exs:326: (test)
I don’t know ecto or elixir enough to figure out the fix but I think it has something to do with https://github.com/elixir-ecto/ecto/issues/4633 because that is the same exact error