signal-desktop/js/models/blockedNumbers.js
2016-09-07 13:04:45 -07:00

10 lines
231 B
JavaScript

/*
* vim: ts=4:sw=4:expandtab
*/
(function () {
'use strict';
window.Whisper = window.Whisper || {};
storage.isBlocked = function(number) {
return storage.get('blocked', []).indexOf(number) >= 0;
};
})();