Add remote interaction dialog for toots (#8202)
* Add remote interaction dialog for toots * Change AuthorizeFollow into AuthorizeInteraction, support statuses * Update brakeman.ignore * Adjust how interaction buttons are display on public pages * Fix tests
This commit is contained in:
@@ -38,4 +38,14 @@ module HomeHelper
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def obscured_counter(count)
|
||||
if count <= 0
|
||||
0
|
||||
elsif count == 1
|
||||
1
|
||||
else
|
||||
'1+'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user