From f044e82d3e189c8870c832feb182ce103fa912e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marina=20Jak=C4=8Din?= Date: Tue, 28 Nov 2023 13:21:14 +0100 Subject: [PATCH] add status text and emoji to user profile --- pkg/connector/user.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/connector/user.go b/pkg/connector/user.go index 53816411..048bdd67 100644 --- a/pkg/connector/user.go +++ b/pkg/connector/user.go @@ -28,6 +28,8 @@ func userResource(ctx context.Context, user *slack.User, parentResourceID *v2.Re profile["login"] = user.Profile.Email profile["workspace"] = user.Profile.Team profile["user_id"] = user.ID + profile["status_text"] = user.Profile.StatusText + profile["status_emoji"] = user.Profile.StatusEmoji var userStatus v2.UserTrait_Status_Status if user.Deleted {