diff --git a/src/Support/NotificationPayloadFactory.php b/src/Support/NotificationPayloadFactory.php index c64f5a9..350e0b3 100644 --- a/src/Support/NotificationPayloadFactory.php +++ b/src/Support/NotificationPayloadFactory.php @@ -41,12 +41,12 @@ class NotificationPayloadFactory $teamsEntityId = '8ffe419f-ca44-4627-a4b2-f223da2d07aa'; // Opens the app side pane and marks the activity as read - $teamsTabLink = sprintf( - 'https://teams.microsoft.com/l/entity/%s/%s', - $teamsAppId, - $teamsEntityId - ); - + $teamsTabLink = sprintf( + 'https://teams.microsoft.com/l/entity/%s/%s?webUrl=%s', + $teamsAppId, + $teamsEntityId, + rawurlencode('https://forum.sbp.de/static/flarum-notify.html?v=2') + ); return [ 'topic' => [ 'source' => 'text',