From c44c8b5b03e5cc42276f0b149ef81c232f85d8ae Mon Sep 17 00:00:00 2001 From: Nedyalko Dyakov Date: Thu, 3 Jul 2025 10:52:56 +0300 Subject: [PATCH] fix: increase peek notification name bytes --- internal/proto/reader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/proto/reader.go b/internal/proto/reader.go index 8daa08a1..9a264867 100644 --- a/internal/proto/reader.go +++ b/internal/proto/reader.go @@ -91,8 +91,8 @@ func (r *Reader) PeekReplyType() (byte, error) { } func (r *Reader) PeekPushNotificationName() (string, error) { - // peek 32 bytes, should be enough to read the push notification name - buf, err := r.rd.Peek(32) + // peek 36 bytes, should be enough to read the push notification name + buf, err := r.rd.Peek(36) if err != nil { return "", err }