Commit 5b3a9d6b authored by Kukovskii Vladimir's avatar Kukovskii Vladimir

Fix fetch_attachment_title method of Hangouts Chat service

parent d63a0a07
......@@ -58,8 +58,7 @@ class HangoutsChatService < ChatNotificationService
def fetch_attachment_title(attachment)
return nil if attachment[:title].nil?
return attachment[:title] if attachment[:title_link].nil?
return attachment[:title] unless attachment[:title_link]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment