Skip to content

Commit af49fbe

Browse files
committed
Fix warnings
1 parent 794a083 commit af49fbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matrix_client/client.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ defmodule M51.MatrixClient.Client do
315315

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

320320
body =
321321
case reason do
@@ -328,6 +328,8 @@ defmodule M51.MatrixClient.Client do
328328
{:error, error} -> {:error, error}
329329
end
330330
end
331+
332+
{:reply, reply, state}
331333
end
332334

333335
@impl true

0 commit comments

Comments
 (0)