StatusView: Fix warning

This commit is contained in:
Lain Soykaf 2022-12-15 18:02:33 -05:00
parent 9838790a7d
commit 4a32b584e1
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ defp get_replied_to_activities(activities) do
# This should be removed in a future version of Pleroma. Pleroma-FE currently # This should be removed in a future version of Pleroma. Pleroma-FE currently
# depends on this field, as well. # depends on this field, as well.
defp get_context_id(%{data: %{"context" => context}}) when is_binary(context) do defp get_context_id(%{data: %{"context" => context}}) when is_binary(context) do
use Bitwise import Bitwise
:erlang.crc32(context) :erlang.crc32(context)
|> band(bnot(0x8000_0000)) |> band(bnot(0x8000_0000))