slight code cleanup; add 'buy' to keywords
This commit is contained in:
parent
43d4df272a
commit
638c847528
@ -12,7 +12,8 @@
|
||||
"meet",
|
||||
"upload",
|
||||
"login",
|
||||
"send"
|
||||
"send",
|
||||
"buy"
|
||||
],
|
||||
"currencies":[
|
||||
"$", "£", "€",
|
||||
|
@ -34,8 +34,7 @@ pub async fn restore_session(session_file: &Path) -> anyhow::Result<(Client, Opt
|
||||
|
||||
let client = Client::builder()
|
||||
.homeserver_url(client_session.homeserver)
|
||||
.sled_store(client_session.db_path, Some(&client_session.passphrase))
|
||||
.unwrap()
|
||||
.sled_store(client_session.db_path, Some(&client_session.passphrase))?
|
||||
.build()
|
||||
.await?;
|
||||
|
||||
@ -61,7 +60,7 @@ pub async fn login(data_dir: &Path, session_file: &Path) -> anyhow::Result<Clien
|
||||
|
||||
match client
|
||||
.login_username(&user, &password)
|
||||
.initial_device_display_name("vcxz bot")
|
||||
.initial_device_display_name("scam-police")
|
||||
.send()
|
||||
.await
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user