mattermost/mattermost-plugin-mscalendar

Handle changes in the SiteURL on Subscriptions

Open

#68 opened on Mar 31, 2020

 (0 comments) (0 reactions) (0 assignees)Go (35 forks)auto 404
Difficulty/1:EasyHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs

Repository metrics

Stars
 (22 stars)
PR merge metrics
 (PR metrics pending)

Description

When we create a subscription, we configure the subscription to use the notification API endpoint as the webhook on MSCalendar side. If there is any change on the SiteURL, all the active subscriptions will stop working since the endpoint would have changed, but MSCalendar would still be sending the notifications to the old one.

One change proposal would be that if there is a change on the SiteURL, traverse all the subscriptions and update them with the correct endpoint.

Contributor guide