1
0
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:
Loic Blot
2014-09-30 18:54:30 +00:00
parent b17cf11020
commit b75a8b3547
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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()));
}
/**