Skip to content

Commit

Permalink
Merge pull request #9 from ConductorOne/jakcinmarina/update-user-profile
Browse files Browse the repository at this point in the history
add status text and emoji to user profile
  • Loading branch information
jakcinmarina authored Nov 28, 2023
2 parents f71b83f + f044e82 commit a8e739a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/connector/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a8e739a

Please sign in to comment.