From daf5c886f71225618eecd04ff0340ded31ab44fe Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Wed, 26 Jan 2022 15:03:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/socketwrap/clientManager.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/socketwrap/clientManager.go b/services/socketwrap/clientManager.go index d6d36796e..53de73673 100644 --- a/services/socketwrap/clientManager.go +++ b/services/socketwrap/clientManager.go @@ -114,4 +114,9 @@ func filterUserPrivateInfo(action *models.Action) { action.ActUser.PublicKey = "" action.ActUser.Salt = "" action.ActUser.FullName = "" + action.ActUser.AvatarEmail = "" + action.ActUser.IsAdmin = false + action.ActUser.EmailNotificationsPreference = "" + action.ActUser.IsOperator = false + }