mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-20 21:03:05 +00:00
Prepare conversation deletion in PHP code too
This commit is contained in:
@@ -52,6 +52,10 @@ app.controller('OcSmsController', ['$scope',
|
||||
changeSelectedConversation($("a[mailbox-navigation='" + contact.nav + "']"));
|
||||
}
|
||||
};
|
||||
$scope.removeConversation = function() {
|
||||
$.post(OC.generateUrl('/apps/ocsms/delete/conversation'), {"contact": g_curContactName}, function(data) {
|
||||
});
|
||||
}
|
||||
|
||||
$scope.addContact = function (ct) {
|
||||
$scope.$apply(function () {
|
||||
|
||||
Reference in New Issue
Block a user