Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/channels/awareness_channel.rb')
-rw-r--r--app/channels/awareness_channel.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/channels/awareness_channel.rb b/app/channels/awareness_channel.rb
index 554e057ca83..cf85e4b3d33 100644
--- a/app/channels/awareness_channel.rb
+++ b/app/channels/awareness_channel.rb
@@ -66,6 +66,7 @@ class AwarenessChannel < ApplicationCable::Channel # rubocop:disable Gitlab/Name
{
id: user.id,
name: user.name,
+ username: user.username,
avatar_url: user.avatar_url(size: 36),
last_activity: last_activity,
last_activity_humanized: ActionController::Base.helpers.distance_of_time_in_words(