From 05e67b183846f3fb3f5af41540188f121cf4b784 Mon Sep 17 00:00:00 2001 From: Pascal Precht <445106+0x-r4bbit@users.noreply.github.com> Date: Wed, 14 Jun 2023 18:27:39 +0200 Subject: [PATCH] fix: add missing private field when converting permission request --- protocol/requests/edit_community_token_permission_request.go | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/requests/edit_community_token_permission_request.go b/protocol/requests/edit_community_token_permission_request.go index 1918c5f4f..e1f159563 100644 --- a/protocol/requests/edit_community_token_permission_request.go +++ b/protocol/requests/edit_community_token_permission_request.go @@ -29,5 +29,6 @@ func (u *EditCommunityTokenPermission) ToCommunityTokenPermission() protobuf.Com Type: u.Type, TokenCriteria: u.TokenCriteria, ChatIds: u.ChatIds, + IsPrivate: u.IsPrivate, } }