Fix MatrixSync constructor
parent
d65d989567
commit
9017614387
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue