From 6628f924ba4aefa8f8361ebc252fb225718359c2 Mon Sep 17 00:00:00 2001 From: bt Date: Thu, 4 Jun 2026 17:13:39 +0200 Subject: [common] Add channels list query --- core/data.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'core/data.go') diff --git a/core/data.go b/core/data.go index 6871a89..4705c75 100644 --- a/core/data.go +++ b/core/data.go @@ -25,6 +25,8 @@ const ( PayloadServerAuth = 0x06 PayloadUsermode = 0x07 PayloadHistory = 0x08 + PayloadList = 0x09 + PayloadListItem = 0x10 PayloadTest = 0xFF ) @@ -146,6 +148,10 @@ func Decode(buf io.Reader) (any, error) { return DecodeUsermode(buf) case PayloadHistory: return DecodeHistory(buf) + case PayloadList: + return DecodeList(buf) + case PayloadListItem: + return DecodeListItem(buf) case PayloadTest: return DecodeTest(buf) default: -- cgit v1.2.3