feat(mail): Add location in email ics representation template

This commit is contained in:
smizrahi committed 2024-06-10 16:35:49 +02:00
1 parent f96eb4d3ca
commit 591d283425
5 files changed
+25 -1

No files matched your search

+11 -1
View File
@@ -583,9 +583,19 @@
[[person partStatWithDefault] lowercaseString], @"partstat", nil]];
}
[d setObject: a forKey: @"participants"];
[d setObject: a forKey: @"participants"];
return d;
}
- (BOOL) hasLocation {
return [self inEvent] != nil
&& [[self inEvent] location] != nil
&& [[[self inEvent] location] length] > 0;
}
- (NSString *) location {
return [[self inEvent] location];
}
@end /* UIxMailPartICalViewer */