From 01e0c780fa2087c82bbb0ae01e9acc9786993d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Mon, 11 Feb 2019 18:53:27 +0100 Subject: [PATCH] Fix typing notification --- src/rooms.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/rooms.jl b/src/rooms.jl index 62a6d66..1c0f14a 100644 --- a/src/rooms.jl +++ b/src/rooms.jl @@ -84,10 +84,7 @@ function history(u::MatrixUser, room_id::String; limit = 15) end function sendtyping(u::MatrixUser, room_id::String; typing = true, timeout = 30000) - path = join([u.server.instance, API_PATH, - string("rooms/", HTTP.escapeuri(room_id), "/typing/", u.userid)], "/") + path = string("rooms/", HTTP.escapeuri(room_id), "/typing/", u.userid) data = Dict{String,Any}("typing" => typing, "timeout" => timeout) - @show data - @show path put(u, path, data) end