Change regex that filters potentially valid contacts in search bar to match a pub key

pull/3/head
sachaaaaa 7 years ago
parent 1866aed432
commit b043a469a2

@ -173,7 +173,7 @@
},
maybeNumber(number) {
return number.replace(/[\s-.()]*/g, '').match(/^\+?[0-9]*$/);
return number.replace(/[\s]*/g, '').match(/^[0-9a-zA-Z\/+]+$/);
},
});
})();

Loading…
Cancel
Save