9.1.3 - Customize Share Link Email Notification Display Name & Subject


I am working on setting up ownCloud 9.1.3. How can I go about customize the email display name and subject for the Share Link email notifications? Currently they are as follows:

[User's Display Name] via ownCloud

[User's Display Name] shared »[item]« with you

I'd love to customize these. I've customized the body of the email without issue.


I found where I can customize the subject. Lines 112 & 169 of lib/private/Share/MailNotifications.php

Is there a way to template-ize this?

It doesn't look like the email display name is here though.

Found the subject! Lines 139 and 182 of the above file.