Revert "fix #97 - insular instances on graph"

This reverts commit c6b6144d2a.
pull/1/head
Tao Bror Bojlén 2019-09-25 18:24:53 +01:00
rodzic 1e9ec13221
commit 5525bcb204
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: C6EC7AAB905F9E6F
2 zmienionych plików z 0 dodań i 3 usunięć

Wyświetl plik

@ -18,7 +18,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Display plain Pleroma version rather than the Mastodon-compatible string
- Fix some insular instances appearing on the graph
### Security

Wyświetl plik

@ -75,8 +75,6 @@ defmodule Backend.Api do
user_threshold = get_config(:personal_instance_threshold)
Instance
# filter down to instances that have edges
|> join(:inner, [i], e in Edge, on: i.domain == e.source_domain or i.domain == e.target_domain)
|> where(
[i],
not is_nil(i.x) and not is_nil(i.y) and not is_nil(i.user_count) and