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:
authorKamil Trzciński <ayufan@ayufan.eu>2018-02-27 13:20:09 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2018-02-27 13:20:09 +0300
commit60503057bcf357bef82e3e61072d2a2646f62279 (patch)
tree48e234ba8450dd8786c42bcfa157987a5ec0b567 /app/services
parenta4885b8f37602c399efff028b0a733ef80fbe7ab (diff)
parent57719d34d3fcc15f39354b0e9dc1da41bbe5d1a8 (diff)
Merge branch 'slash-commands-changes-for-chatops' into 'master'
Expose ChatName objects to slash commands See merge request gitlab-org/gitlab-ce!17295
Diffstat (limited to 'app/services')
-rw-r--r--app/services/chat_names/find_user_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/chat_names/find_user_service.rb b/app/services/chat_names/find_user_service.rb
index 4f5c5567b42..d458b814183 100644
--- a/app/services/chat_names/find_user_service.rb
+++ b/app/services/chat_names/find_user_service.rb
@@ -9,8 +9,8 @@ module ChatNames
chat_name = find_chat_name
return unless chat_name
- chat_name.touch(:last_used_at)
- chat_name.user
+ chat_name.update_last_used_at
+ chat_name
end
private