From 4f6c84085795b32b07a42e47dff1a8b8956ecbb9 Mon Sep 17 00:00:00 2001 From: bt Date: Sat, 16 May 2026 22:40:12 +0200 Subject: Return channel history only if user is connected to it --- core/data.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'core') diff --git a/core/data.go b/core/data.go index 4d18604..e3fd560 100644 --- a/core/data.go +++ b/core/data.go @@ -151,8 +151,6 @@ func Decode(buf io.Reader) (any, error) { default: return nil, fmt.Errorf("invalid payload type: %v", pType) } - - return pType, nil } func decodeNumeric(buf io.Reader, ptr any) error { -- cgit v1.2.3