fix: improving internal protocol - pass messageID and parentMessageID
messageID and parentMessageID are cleared in the gateway. We need this info in Status to handle replies. Issue #13258
This commit is contained in:
committed by
Michał Iskierko
parent
6d31343205
commit
1c7da47b09
@@ -48,6 +48,11 @@ type Message struct {
|
||||
Extra map[string][]interface{}
|
||||
}
|
||||
|
||||
type OriginalMessageIds struct {
|
||||
ID string `json:"id"`
|
||||
ParentID string `json:"parent_id"`
|
||||
}
|
||||
|
||||
func (m Message) ParentNotFound() bool {
|
||||
return m.ParentID == ParentIDNotFound
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user