From 6f2d6ed75dbd1d34b0416650cde38791300edfa4 Mon Sep 17 00:00:00 2001 From: Andrey Savihin Date: Thu, 1 Aug 2024 15:07:12 +0300 Subject: [PATCH] ASC.Web.Core: StudioNotifyService: set basedomain when sending zoom notification --- web/ASC.Web.Core/Notify/StudioNotifyService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/ASC.Web.Core/Notify/StudioNotifyService.cs b/web/ASC.Web.Core/Notify/StudioNotifyService.cs index d27391badf..16396f0adc 100644 --- a/web/ASC.Web.Core/Notify/StudioNotifyService.cs +++ b/web/ASC.Web.Core/Notify/StudioNotifyService.cs @@ -950,7 +950,7 @@ private string GetControlPanelUrl(string serverRootPath) #region Zoom - public async Task SendZoomWelcomeAsync(UserInfo u) + public async Task SendZoomWelcomeAsync(UserInfo u, string portalUrl = null) { try { @@ -961,6 +961,7 @@ await studioNotifyServiceHelper.SendNoticeToAsync( Actions.ZoomWelcome, await studioNotifyHelper.RecipientFromEmailAsync(u.Email, false), [EMailSenderName], + portalUrl ??= commonLinkUtility.GetFullAbsolutePath(""), new TagValue(CommonTags.Culture, culture.Name), new TagValue(Tags.UserName, u.FirstName.HtmlEncode()), new TagValue(CommonTags.TopGif, studioNotifyHelper.GetNotificationImageUrl("welcome.gif")),