clear froma dress

master
Christopher 2020-07-01 21:30:21 +02:00
parent a7421d59d5
commit d1ea0b8ec8
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ namespace OpenSim.Modules.EMail
lslMessage.message = mail.Mail.TextBody.ToString(); lslMessage.message = mail.Mail.TextBody.ToString();
if (mail.Mail.From[0] != null) if (mail.Mail.From[0] != null)
lslMessage.sender = mail.Mail.From[0].ToString(); lslMessage.sender = mail.Mail.From[0].ToString().Split(' ').Last().Replace("<", "").Replace(">", "");
if (mail.Mail.Subject != null) if (mail.Mail.Subject != null)
lslMessage.subject = mail.Mail.Subject; lslMessage.subject = mail.Mail.Subject;