mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-23 13:48:40 +00:00
correct opt-out showing application (#10086)
* correct opt-out showing application refs #9994 * Revert "correct opt-out showing application" This reverts commit 0e9bb70f145be42962416a6b87c08d59a2896486. * User#shows_application? calls wrong value
This commit is contained in:
parent
aa6a4b7b8a
commit
4340d338fd
|
@ -245,7 +245,7 @@ class User < ApplicationRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def shows_application?
|
def shows_application?
|
||||||
@shows_application ||= settings.shows_application
|
@shows_application ||= settings.show_application
|
||||||
end
|
end
|
||||||
|
|
||||||
def token_for_app(a)
|
def token_for_app(a)
|
||||||
|
|
Loading…
Reference in a new issue