From c43329c48a2f33505ea66958a4e54573a8ccc987 Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 1 Jan 2022 08:09:04 +0200 Subject: [PATCH] self follow on login --- src/application/controller/login.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/application/controller/login.php b/src/application/controller/login.php index bdd826a..fc7b2ca 100644 --- a/src/application/controller/login.php +++ b/src/application/controller/login.php @@ -65,6 +65,9 @@ if (isset($_POST) && $_POST) { if ($_twister->importWallet($userName, $userPrivateKey)) { + // Follow self feed + $_twister->follow($userName, [$userName]); + // @TODO: add login time // Auth