summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/mattermost/handlers.go')
-rw-r--r--bridge/mattermost/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/mattermost/handlers.go b/bridge/mattermost/handlers.go
index 67e68d02..58af43a8 100644
--- a/bridge/mattermost/handlers.go
+++ b/bridge/mattermost/handlers.go
@@ -108,7 +108,7 @@ func (b *Bmattermost) handleMatterClient(messages chan *config.Message) {
Channel: message.Channel,
Text: message.Text,
ID: message.Post.Id,
- ParentID: message.Post.ParentId,
+ ParentID: message.Post.RootId, // ParentID is obsolete with mattermost
Extra: make(map[string][]interface{}),
}