fix lints
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
d1b82ea225
commit
9d0ce3965e
3 changed files with 3 additions and 3 deletions
|
@ -256,7 +256,7 @@ pub fn url_preview_allowed(&self, url: &Url) -> bool {
|
|||
|
||||
if allowlist_url_contains
|
||||
.iter()
|
||||
.any(|url_s| url.to_string().contains(&url_s.to_string()))
|
||||
.any(|url_s| url.to_string().contains(url_s))
|
||||
{
|
||||
debug!("URL {} is allowed by url_preview_url_contains_allowlist (check 4/4)", &host);
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue