fix compilation warnings
This commit is contained in:
parent
1b826eea54
commit
1c7d7845c3
|
@ -80,7 +80,7 @@ defp add_emoji_content(data, emoji, url) do
|
|||
end
|
||||
|
||||
defp remote_custom_emoji_react(
|
||||
%{data: %{"reactions" => existing_reactions}} = object,
|
||||
%{data: %{"reactions" => existing_reactions}},
|
||||
data,
|
||||
emoji
|
||||
) do
|
||||
|
@ -103,7 +103,7 @@ defp remote_custom_emoji_react(
|
|||
end
|
||||
end
|
||||
|
||||
defp remote_custom_emoji_react(_object, data, emoji) do
|
||||
defp remote_custom_emoji_react(_object, _data, _emoji) do
|
||||
{:error, "Could not react"}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue