Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"wasm:postbuild": "node build.js",
"build": "npm run wasm:build && npm run wasm:postbuild"
},
"version": "0.4.65",
"version": "0.4.66",
"devDependencies": {
"@types/bun": "latest",
"prettier": "^3.3.3"
Expand Down
3 changes: 2 additions & 1 deletion src/cryptos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,8 @@ async fn fetch_public_keys(email_headers: EmailHeaders) -> Result<(serde_json::V
let from_domain = from_headers[0].as_str();
let from_re = Regex::new(r"@([^>\s]+)").unwrap();
let from_domain = from_re
.captures(from_domain)
.captures_iter(from_domain)
.last()
.and_then(|cap| cap.get(1))
.map(|m| m.as_str().to_string())
.ok_or_else(|| {
Expand Down
Loading