BlueGit

ict rusty-teams

fix(calendar): peek uses the core meeting link parser

- no Teams host name outside the service modules (internal_endpoints guard)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

metis Daniel Däschle · pushed by metis

Authored 2026-11-14 · 2 weeks ago

Hash
0318f86215740a34b1fbc002ced93accae03c50c
Parent
bc6f4c9e
1 file changed +1 −1
crates/app/src/views/calendar_event_dialog.rs +1 −1
@@ -985,7 +985,7 @@ fn percent_encode_query(value: &str) -> String {
985 985 }
986 986
987 987 fn is_teams_url(url: &str) -> bool {
988 url.contains("teams.microsoft.com")
988 teams_core::parse_meeting_link(url).is_some()
989 989 }
990 990
991 991 fn is_google_meet_url(url: &str) -> bool {
@@ -985,7 +985,7 @@ fn percent_encode_query(value: &str) -> String {
985}
985}
986
986
987fn is_teams_url(url: &str) -> bool {
987fn is_teams_url(url: &str) -> bool {
988 url.contains("teams.microsoft.com")
988 teams_core::parse_meeting_link(url).is_some()
989}
989}
990
990
991fn is_google_meet_url(url: &str) -> bool {
991fn is_google_meet_url(url: &str) -> bool {