global user to fix repl
This commit is contained in:
parent
a4d501da99
commit
6bd0256917
|
@ -799,9 +799,13 @@ end
|
|||
"""Initialize the REPL mode, read config files and start the TUI client
|
||||
"""
|
||||
function repl()
|
||||
global user
|
||||
userinfo = load_secret_or_login(load_config_file())
|
||||
repl_init(Base.active_repl)
|
||||
userinfo
|
||||
user = MatrixUser(userinfo...)
|
||||
MatrixChat.updateroomlist(user)
|
||||
syncstatus = MatrixSync(user)
|
||||
user
|
||||
end
|
||||
|
||||
########
|
||||
|
|
Loading…
Reference in New Issue