rename method

This commit is contained in:
yggverse 2024-11-28 02:43:52 +02:00
parent 262e11d677
commit 9084c10211
4 changed files with 5 additions and 5 deletions

View file

@ -430,7 +430,7 @@ impl Page {
None, // default priority
Some(cancellable.clone()),
// Search for user certificate match request scope
match self.profile.identity.gemini.match_priority(&self.navigation.request.widget.entry.text()) {
match self.profile.identity.gemini.match_request(&self.navigation.request.widget.entry.text()) {
Some(identity) => match TlsCertificate::from_pem(&identity.pem) {
Ok(certificate) => Some(certificate),
Err(reason) => todo!("{reason}"),

View file

@ -81,7 +81,7 @@ impl Navigation {
.gemini
.auth
.memory
.match_priority(&request_text)
.match_request(&request_text)
.is_some(),
!request_text.is_empty() && request_text.starts_with("gemini"),
);