diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 16:29:16 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-17 16:29:16 +0100 |
commit | d444fd3460e896065c21abda9a1cafa93f9315a5 (patch) | |
tree | 22f8fe6fb58a43ec040aaca203edd14a101c0a5f /app/services/chat_names | |
parent | 1ddfc574ce1753ba783c5c1734efb6105f20f3d7 (diff) | |
download | gitlab-ce-d444fd3460e896065c21abda9a1cafa93f9315a5.tar.gz |
Change last_used_at to use touchchat-name-authorize
Diffstat (limited to 'app/services/chat_names')
-rw-r--r-- | app/services/chat_names/find_user_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/chat_names/find_user_service.rb b/app/services/chat_names/find_user_service.rb index 08079fdaf70..4f5c5567b42 100644 --- a/app/services/chat_names/find_user_service.rb +++ b/app/services/chat_names/find_user_service.rb @@ -9,7 +9,7 @@ module ChatNames chat_name = find_chat_name return unless chat_name - chat_name.update(last_used_at: Time.now) + chat_name.touch(:last_used_at) chat_name.user end |