From 4e50fd864921c556988c919269448efdb90fa961 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 10 Aug 2020 00:29:54 +0200 Subject: Use mattermost v5 module (#1192) --- bridge/mattermost/handlers.go | 2 +- bridge/mattermost/helpers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge') diff --git a/bridge/mattermost/handlers.go b/bridge/mattermost/handlers.go index e0e5f924..67e68d02 100644 --- a/bridge/mattermost/handlers.go +++ b/bridge/mattermost/handlers.go @@ -4,7 +4,7 @@ import ( "github.com/42wim/matterbridge/bridge/config" "github.com/42wim/matterbridge/bridge/helper" "github.com/42wim/matterbridge/matterclient" - "github.com/mattermost/mattermost-server/model" + "github.com/mattermost/mattermost-server/v5/model" ) // handleDownloadAvatar downloads the avatar of userid from channel diff --git a/bridge/mattermost/helpers.go b/bridge/mattermost/helpers.go index 14b7469d..7e52eef0 100644 --- a/bridge/mattermost/helpers.go +++ b/bridge/mattermost/helpers.go @@ -7,7 +7,7 @@ import ( "github.com/42wim/matterbridge/bridge/helper" "github.com/42wim/matterbridge/matterclient" "github.com/42wim/matterbridge/matterhook" - "github.com/mattermost/mattermost-server/model" + "github.com/mattermost/mattermost-server/v5/model" ) func (b *Bmattermost) doConnectWebhookBind() error { -- cgit v1.2.3