mattermost/mattermost-plugin-mscalendar

Handle changes in the SiteURL on Subscriptions

开放

#68 创建于 2020年3月31日

 (0 条评论) (0 个反应) (0 位负责人)Go (35 个派生)auto 404
Difficulty/1:EasyHacktoberfestHelp WantedTech/GoType/EnhancementUp For Grabs

仓库指标

星标
 (22 个星标)
PR 合并指标
 (平均合并 2天 7小时) (30 天内合并 10 个 PR)

描述

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.

贡献者指南