mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-13 23:49:25 +01:00
parent
f345eeae55
commit
8587fa8585
@ -161,7 +161,7 @@ func (b *Bmattermost) Send(msg config.Message) (string, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
b.Log.Errorf("getting post %s failed: %s", msg.ParentID, err)
|
b.Log.Errorf("getting post %s failed: %s", msg.ParentID, err)
|
||||||
}
|
}
|
||||||
if post.RootId != "" {
|
if post != nil && post.RootId != "" {
|
||||||
msg.ParentID = post.RootId
|
msg.ParentID = post.RootId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user