chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336f3a4
)
Leave out the double-check of the account name.
author
Simon Tatham
<anakin@pobox.com>
Mon, 1 Jan 2024 12:05:07 +0000
(12:05 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Mon, 1 Jan 2024 12:05:07 +0000
(12:05 +0000)
Turns out it's case-insensitive, bah.
src/client.rs
patch
|
blob
|
history
diff --git
a/src/client.rs
b/src/client.rs
index 6a68b903d5fe1adf07a45cc330cf733232a1e009..55c1e58824186a58b22083e18a363fdd4bb20047 100644
(file)
--- a/
src/client.rs
+++ b/
src/client.rs
@@
-642,11
+642,6
@@
impl Client {
url.clone(), e.to_string())),
}
}?;
- if ac.acct != name && self.fq(&ac.acct) != name {
- return Err(ClientError::UrlError(
- url.clone(), format!("request returned wrong account name {}",
- &ac.acct)));
- }
self.cache_account(&ac);
Ok(ac)
}