StatusView: Fix warning
This commit is contained in:
parent
9838790a7d
commit
4a32b584e1
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue