Remove the ability the lookup username history for moderators
This commit is contained in:
parent
56f788878a
commit
619f63067c
4 changed files with 3 additions and 44 deletions
|
@ -37,11 +37,6 @@ namespace Geekbot.net.Lib.UserRepository
|
|||
savedUser.AvatarUrl = user.GetAvatarUrl() ?? "";
|
||||
savedUser.IsBot = user.IsBot;
|
||||
savedUser.Joined = user.CreatedAt;
|
||||
if (savedUser.UsedNames == null) savedUser.UsedNames = new List<UserUsedNamesModel>();
|
||||
if (!savedUser.UsedNames.Any(e => e.Name.Equals(user.Username)))
|
||||
{
|
||||
savedUser.UsedNames.Add(new UserUsedNamesModel { Name = user.Username, FirstSeen = DateTimeOffset.Now });
|
||||
}
|
||||
|
||||
if (isNew)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue