Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed Jun 25, 2023
1 parent 794a083 commit af49fbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/matrix_client/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ defmodule M51.MatrixClient.Client do

{room_id, _room} ->
path =
"/_matrix/client/r0/rooms/#{urlquote(room_id)}/redact/#{urlquote(event_id)}/#{urlquote(label)}"
"/_matrix/client/r0/rooms/#{urlquote(room_id)}/redact/#{urlquote(event_id)}/#{transaction_id}"

body =
case reason do
Expand All @@ -328,6 +328,8 @@ defmodule M51.MatrixClient.Client do
{:error, error} -> {:error, error}
end
end

{:reply, reply, state}
end

@impl true
Expand Down

0 comments on commit af49fbe

Please sign in to comment.