summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2020-07-30 19:12:06 -0100
committerMaxence Lange <maxence@artificial-owl.com>2020-07-30 19:12:06 -0100
commitf4d09d9f6dc2073e482af8f2f43878c02eb689cd (patch)
treec896627b3733832c3afee730905076b7962b96a2
parentfd5790bd5c74c999096334860c8b2641b3a529b9 (diff)
get actor from userId
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Command/Timeline.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Timeline.php b/lib/Command/Timeline.php
index 6dc5e1c8..e7062ba1 100644
--- a/lib/Command/Timeline.php
+++ b/lib/Command/Timeline.php
@@ -130,7 +130,7 @@ class Timeline extends ExtendedBase {
throw new Exception('Unknown user');
}
- $actor = $this->accountService->getActor($userId);
+ $actor = $this->accountService->getActorFromUserId($userId);
if (!$this->asJson) {
$this->outputActor($actor);