Credo fixes.
authorlain <lain@soykaf.club>
Fri, 5 Jun 2020 10:45:25 +0000 (12:45 +0200)
committerlain <lain@soykaf.club>
Fri, 5 Jun 2020 10:45:25 +0000 (12:45 +0200)
lib/pleroma/web/activity_pub/side_effects.ex
lib/pleroma/web/views/streamer_view.ex

index 992c04ac131fb5c30c557599121b80661a693d74..e7d050e819f0026b856037650e8ac92089b59568 100644 (file)
@@ -142,7 +142,8 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
           {: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)
 
-          # We add a cache of the unread value here so that it doesn't change when being streamed out
+          # We add a cache of the unread value here so that it 
+          # doesn't change when being streamed out
           chat =
             chat
             |> Map.put(:unread, ChatMessageReference.unread_count_for_chat(chat))
index b000e7ce03ea90a8803e06683a7f7c431d9f3c46..476a3324513a1f42d2b8f13022d1a740f20ad464 100644 (file)
@@ -55,7 +55,7 @@ defmodule Pleroma.Web.StreamerView do
     # Explicitly giving the cmr for the object here, so we don't accidentally
     # send a later 'last_message' that was inserted between inserting this and
     # streaming it out
-    # 
+    #
     # It also contains the chat with a cache of the correct unread count
     Logger.debug("Trying to stream out #{inspect(cm_ref)}")