diff --git a/js/public/app.js b/js/public/app.js index 2b4c074..cc2f0a3 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -110,7 +110,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile' $scope.selectedContact = contact; } $scope.messages = []; - $.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': phoneNumber}, + $.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': $scope.selectedContact.nav}, function(jsondata, status) { var phoneNumberLabel = phoneNumber; $scope.selectedContact.nav = phoneNumber;