]> cat aescling's git repositories - mastodon.git/commit
Use Contact User as Relay, Report, Subscribe. (#9661)
authorNaoki Kosaka <n.k@mail.yukimochi.net>
Sat, 5 Jan 2019 06:17:12 +0000 (15:17 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 5 Jan 2019 06:17:12 +0000 (07:17 +0100)
commitfae32634b15a29e66d5c2a04015f2f947cf54627
treef551dd85c02d0769bc54f232f6085d11befd5875
parent45899cfa691b1e4f43da98c456ae8faa584eb437
Use Contact User as Relay, Report, Subscribe. (#9661)

* Use Contact User as Relay, Report, Subscribe.

* Use Account.representative to fetch contact user.

* Use find_local.

* No reason to use Account.representative in subscribe_service.

* Don't required representative!

* Fallback is included in Account.representative method.
app/models/concerns/account_finder_concern.rb
app/models/relay.rb
app/services/report_service.rb