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

This commit is contained in:
smizrahi
2024-06-10 16:35:49 +02:00
parent f96eb4d3ca
commit 591d283425
5 changed files with 25 additions and 1 deletions
+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 */