display plain pleroma version string
This commit is contained in:
parent
7d97e2e397
commit
b51ddddbeb
|
@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
- Display plain Pleroma version rather than the Mastodon-compatible string
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
## [2.8.2 - 2019-08-31]
|
## [2.8.2 - 2019-08-31]
|
||||||
|
|
|
@ -39,7 +39,7 @@ defmodule Backend.Crawler.Crawlers.Mastodon do
|
||||||
user_count = get_in(instance, ["stats", "user_count"])
|
user_count = get_in(instance, ["stats", "user_count"])
|
||||||
|
|
||||||
if is_above_user_threshold?(user_count) or has_opted_in?(domain) do
|
if is_above_user_threshold?(user_count) or has_opted_in?(domain) do
|
||||||
Map.merge(nodeinfo, crawl_large_instance(domain, instance))
|
Map.merge(crawl_large_instance(domain, instance), nodeinfo)
|
||||||
else
|
else
|
||||||
ApiCrawler.get_default()
|
ApiCrawler.get_default()
|
||||||
|> Map.merge(nodeinfo)
|
|> Map.merge(nodeinfo)
|
||||||
|
|
Loading…
Reference in a new issue