If Credo fixes is so good, why is there no Credo fixes 2?

This commit is contained in:
lain 2020-06-05 13:10:48 +02:00
parent f3ea6ee2c8
commit 65689ba9bd

View File

@ -142,7 +142,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
{:ok, chat} = Chat.bump_or_create(user.id, other_user.ap_id) {:ok, chat} = Chat.bump_or_create(user.id, other_user.ap_id)
{:ok, cm_ref} = ChatMessageReference.create(chat, object, user.ap_id != actor.ap_id) {:ok, cm_ref} = ChatMessageReference.create(chat, object, user.ap_id != actor.ap_id)
# We add a cache of the unread value here so that it # We add a cache of the unread value here so that it
# doesn't change when being streamed out # doesn't change when being streamed out
chat = chat =
chat chat