From 752602f5f57c0619655c9a00a77c105756fb1dce Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 9 Aug 2021 20:38:36 +0000 Subject: [PATCH] "getUserId" is now "getLoggedInUserId" --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index 56b5ead8..b5c9ffbc 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -146,7 +146,7 @@ function twitter_follow(App $a, array &$contact) $nickname = preg_replace("=https?://twitter.com/(.*)=ism", "$1", $contact["url"]); $nickname = str_replace("@twitter.com", "", $nickname); - $uid = $a->getUserId(); + $uid = $a->getLoggedInUserId(); $ckey = DI::config()->get('twitter', 'consumerkey'); $csecret = DI::config()->get('twitter', 'consumersecret');