Fix MatrixSync constructor

master
Nicolò Balzarotti 2019-02-11 18:06:10 +01:00
parent d65d989567
commit 9017614387
No known key found for this signature in database
GPG Key ID: E5900B8AC02DE455
1 changed files with 2 additions and 2 deletions

View File

@ -34,11 +34,11 @@ mutable struct MatrixSync
user::MatrixUser
last::Union{Nothing,String}
timeout::Int
presence::String
sync
presence::String
end
MatrixSync(u::MatrixUser) = MatrixSync(u, nothing, 30000, Dict())
MatrixSync(u::MatrixUser; presence = "offline") = MatrixSync(u, nothing, 30000, Dict(), presence)
struct MatrixMsg
sender::String