Fix typing notification
parent
9017614387
commit
01e0c780fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue