mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-20 12:52:58 +00:00
Add a fix for duplicates messages in database with or without spaces
This commit is contained in:
+1
-2
@@ -155,7 +155,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
|
||||
var phoneNumberLabel = $scope.selectedContact.nav;
|
||||
|
||||
if (typeof jsondata['phoneNumbers'] != 'undefined') {
|
||||
phoneNumberList = arrayUnique(jsondata['phoneNumbers']);
|
||||
var phoneNumberList = arrayUnique(jsondata['phoneNumbers']);
|
||||
phoneNumberLabel = phoneNumberList.toString();
|
||||
}
|
||||
|
||||
@@ -491,7 +491,6 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
|
||||
changeSelectedConversation($("a[mailbox-navigation='" + urlPhoneNumber + "']"));
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
$scope.fetchInitialSettings();
|
||||
$scope.initDesktopNotifies();
|
||||
|
||||
Reference in New Issue
Block a user