Revert "display plain pleroma version string"
This reverts commit b51ddddbeb
.
This commit is contained in:
parent
44040abd1b
commit
8558f96635
|
@ -19,7 +19,6 @@ 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
|
|
||||||
- Fixed some unsuccessful crawls being saved without their errors
|
- Fixed some unsuccessful crawls being saved without their errors
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
@ -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(crawl_large_instance(domain, instance), nodeinfo)
|
Map.merge(nodeinfo, crawl_large_instance(domain, instance))
|
||||||
else
|
else
|
||||||
ApiCrawler.get_default()
|
ApiCrawler.get_default()
|
||||||
|> Map.merge(nodeinfo)
|
|> Map.merge(nodeinfo)
|
||||||
|
|
Loading…
Reference in a new issue