From 64939e31d7df207cb25592d6d9f059c8c0c666fb Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 19 May 2016 22:45:19 +0200 Subject: [PATCH] Another fix --- js/public/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/public/app.js b/js/public/app.js index cc2f0a3..83c6b4b 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -112,8 +112,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile' $scope.messages = []; $.getJSON(OC.generateUrl('/apps/ocsms/get/conversation'), {'phoneNumber': $scope.selectedContact.nav}, function(jsondata, status) { - var phoneNumberLabel = phoneNumber; - $scope.selectedContact.nav = phoneNumber; + var phoneNumberLabel = $scope.selectedContact.nav; if (typeof jsondata['phoneNumbers'] != 'undefined') { phoneNumberList = arrayUnique(jsondata['phoneNumbers']);