From fe6dc26def9060af36d0800560a3d76eecb6d862 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Fri, 19 Apr 2024 11:44:22 -0600 Subject: [PATCH] update invite message (#614) --- server/connect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/connect.go b/server/connect.go index f341f8ae5..2e58292b8 100644 --- a/server/connect.go +++ b/server/connect.go @@ -98,7 +98,7 @@ func (p *Plugin) SendInviteMessage(user *model.User, pendingSince time.Time, cur return errors.Wrapf(err, "failed to get bot DM channel with user_id %s", user.Id) } - message := fmt.Sprintf("@%s, you're invited to use the MS Teams connected experience. ", user.Username) + message := fmt.Sprintf("@%s, you’re invited to use the Microsoft Teams connected experience for Mattermost. ", user.Username) invitePost := &model.Post{ Message: message, UserId: p.userID, @@ -109,7 +109,7 @@ func (p *Plugin) SendInviteMessage(user *model.User, pendingSince time.Time, cur } connectURL := fmt.Sprintf(p.GetURL()+"/connect?post_id=%s&channel_id=%s", invitePost.Id, channel.Id) - invitePost.Message = fmt.Sprintf("%s [Click here to connect your account](%s)", invitePost.Message, connectURL) + invitePost.Message = fmt.Sprintf("%s [Click here to activate the integration in a minute or less](%s). For best results, follow the prompts to pick your primary app and then disable notifications for the other app.", invitePost.Message, connectURL) if err := p.apiClient.Post.UpdatePost(invitePost); err != nil { return errors.Wrapf(err, "error sending bot message") }