don't call itself

This commit is contained in:
Nicolas Constant 2022-12-28 17:56:25 -05:00
parent f45e9ed9f7
commit eccd9bdd28
No known key found for this signature in database
GPG key ID: 1E9F677FB01A5688

View file

@ -302,6 +302,9 @@ namespace BirdsiteLive.Domain
var instances = await _theFedInfoService.GetBslInstanceListAsync();
var filteredInstances = instances
.Where(x => x.Version >= new Version(0, 21, 0))
.Where(x => string.Compare(x.Host,
_instanceSettings.Domain,
StringComparison.InvariantCultureIgnoreCase) != 0)
.ToList();
return filteredInstances;
}