Changes:
- methods should ALWAYS start lower-case, not upper - documented a bit more
This commit is contained in:
@@ -85,7 +85,7 @@ class Conversations extends BaseApi
|
||||
|
||||
while ($conv = DBA::fetch($convs)) {
|
||||
self::setBoundaries($conv['id']);
|
||||
$conversations[] = DI::mstdnConversation()->CreateFromConvId($conv['id']);
|
||||
$conversations[] = DI::mstdnConversation()->createFromConvId($conv['id']);
|
||||
}
|
||||
|
||||
DBA::close($convs);
|
||||
|
||||
@@ -42,6 +42,6 @@ class Read extends BaseApi
|
||||
|
||||
DBA::update('mail', ['seen' => true], ['convid' => $this->parameters['id'], 'uid' => $uid]);
|
||||
|
||||
System::jsonExit(DI::mstdnConversation()->CreateFromConvId($this->parameters['id'])->toArray());
|
||||
System::jsonExit(DI::mstdnConversation()->createFromConvId($this->parameters['id'])->toArray());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user