Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13957798
D16772.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D16772.id.diff
View Options
diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
@@ -758,8 +758,18 @@
$host_handle = $handles[$host_phid];
$host_name = $host_handle->getFullName();
- $host_uri = $host_handle->getURI();
- $host_uri = PhabricatorEnv::getURI($host_uri);
+
+ // NOTE: Gmail shows "Who: Unknown Organizer*" if the organizer URI does
+ // not look like an email address. Use a synthetic address so it shows
+ // the host name instead.
+ $install_uri = PhabricatorEnv::getProductionURI('/');
+ $install_uri = new PhutilURI($install_uri);
+
+ // This should possibly use "metamta.reply-handler-domain" instead, but
+ // we do not currently accept mail for users anyway, and that option may
+ // not be configured.
+ $mail_domain = $install_uri->getDomain();
+ $host_uri = "mailto:{$host_phid}@{$mail_domain}";
$organizer = id(new PhutilCalendarUserNode())
->setName($host_name)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 15 2024, 11:22 AM (4 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6712650
Default Alt Text
D16772.id.diff (1 KB)
Attached To
Mode
D16772: Give organizers in ICS exports a dummy email address to placate Gmail
Attached
Detach File
Event Timeline
Log In to Comment