mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-20 12:52:58 +00:00
Add first character to no photo mode. If no number # is the character
This commit is contained in:
@@ -50,6 +50,17 @@ app.filter('peerColor', function() {
|
||||
};
|
||||
});
|
||||
|
||||
app.filter('firstCharacter', function() {
|
||||
return function(input) {
|
||||
if (input.charAt(0) == '+') {
|
||||
return '#';
|
||||
}
|
||||
|
||||
return input.charAt(0);
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile',
|
||||
function ($scope, $interval, $timeout, $compile) {
|
||||
$scope.buttons = [
|
||||
|
||||
Reference in New Issue
Block a user