mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 04:40:26 +00: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