diff options
author | Lain Soykaf <lain@lain.com> | 2022-12-15 18:02:33 -0500 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2022-12-15 18:02:33 -0500 |
commit | 4a32b584e148a5625a983e0932f2a3e16fdbbf30 (patch) | |
tree | 123de2bb3dd88002d84b1dbc7fd658ee0f7b8642 /lib | |
parent | 9838790a7d14e72449af3ae53daf3df30fd1aba0 (diff) | |
download | pleroma-4a32b584e148a5625a983e0932f2a3e16fdbbf30.tar.gz pleroma-4a32b584e148a5625a983e0932f2a3e16fdbbf30.zip |
StatusView: Fix warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index b949d8f9a..0a8c98b44 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -65,7 +65,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do # This should be removed in a future version of Pleroma. Pleroma-FE currently # depends on this field, as well. defp get_context_id(%{data: %{"context" => context}}) when is_binary(context) do - use Bitwise + import Bitwise :erlang.crc32(context) |> band(bnot(0x8000_0000)) |