Fix notification response
Notification response was missing the PID in the Encode function
This commit is contained in:
committed by
Jack Christensen
parent
6677e2430f
commit
08088ecf9a
@@ -46,6 +46,7 @@ func (src *NotificationResponse) Encode(dst []byte) []byte {
|
|||||||
sp := len(dst)
|
sp := len(dst)
|
||||||
dst = pgio.AppendInt32(dst, -1)
|
dst = pgio.AppendInt32(dst, -1)
|
||||||
|
|
||||||
|
dst = pgio.AppendUint32(dst, src.PID)
|
||||||
dst = append(dst, src.Channel...)
|
dst = append(dst, src.Channel...)
|
||||||
dst = append(dst, 0)
|
dst = append(dst, 0)
|
||||||
dst = append(dst, src.Payload...)
|
dst = append(dst, src.Payload...)
|
||||||
|
|||||||
Reference in New Issue
Block a user