mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Little fix for contact load, but this isn't working yet
This commit is contained in:
@@ -82,7 +82,7 @@ class SmsController extends Controller {
|
||||
public function getConversation ($phoneNumber, $lastDate = 0) {
|
||||
$messages = $this->smsMapper->getAllMessagesForPhoneNumber($this->userId, $phoneNumber, $lastDate);
|
||||
// @ TODO: filter correctly
|
||||
return new JSONResponse(array("conversation" => $messages, $contacts => $this->app->getContacts()));
|
||||
return new JSONResponse(array("conversation" => $messages, "contacts" => $this->app->getContacts()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user