event-popover: Add support for Teams links
Add a separate function to extract the description and the URL from a Teams-formatted event. Add a test for this as well. Closes: https://gitlab.gnome.org/GNOME/gnome-calendar/-/work_items/1312 Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/753>
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
823daa3fb1
commit
ef5935f1fa
@@ -491,9 +491,8 @@ setup_description_label (GcalEventPopover *self)
|
||||
g_autofree gchar *meeting_url = NULL;
|
||||
g_autoptr (GString) string = NULL;
|
||||
|
||||
gcal_utils_extract_google_section (gcal_event_get_description (self->event),
|
||||
&description,
|
||||
&meeting_url);
|
||||
gcal_utils_extract_meeting_url (gcal_event_get_description (self->event), &description, &meeting_url);
|
||||
|
||||
g_strstrip (description);
|
||||
|
||||
if (meeting_url)
|
||||
|
||||
Reference in New Issue
Block a user