2
0

Fix notification response

Notification response was missing the PID in the Encode function
This commit is contained in:
Yuli Khodorkovskiy
2020-05-04 13:30:57 -04:00
committed by Jack Christensen
parent 6677e2430f
commit 08088ecf9a
+1
View File
@@ -46,6 +46,7 @@ func (src *NotificationResponse) Encode(dst []byte) []byte {
sp := len(dst)
dst = pgio.AppendInt32(dst, -1)
dst = pgio.AppendUint32(dst, src.PID)
dst = append(dst, src.Channel...)
dst = append(dst, 0)
dst = append(dst, src.Payload...)