0
0
Fork 0

Misc tidying and clean ups (#3445)

* Remove trailing whitespace in i18n mailers

* Use query methods instead of #present? on AR attributes

* Delegate Status#account_domain method

* Delegate Mention #account_username and #account_acct methods
This commit is contained in:
Matt Jankowski 2017-05-31 14:38:17 -04:00 committed by Eugen Rochko
parent 5236a62861
commit b25e42a77f
8 changed files with 18 additions and 9 deletions

View file

@ -328,7 +328,7 @@ class AtomSerializer
end
def conversation_uri(conversation)
return conversation.uri if conversation.uri.present?
return conversation.uri if conversation.uri?
TagManager.instance.unique_tag(conversation.created_at, conversation.id, 'Conversation')
end