From 5736c57f1022010ef08fc9ebd1b995bf9e857afb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 6 Jan 2021 15:05:07 -0600 Subject: [PATCH] Purge last_known_ip when a user is deleted --- lib/pleroma/user.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 382de29c5..ce456d6e1 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -1700,7 +1700,8 @@ defmodule Pleroma.User do fields: [], raw_fields: [], is_discoverable: false, - also_known_as: [] + also_known_as: [], + last_known_ip: nil }) end