You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			25 lines
		
	
	
		
			737 B
		
	
	
	
		
			JavaScript
		
	
			
		
		
	
	
			25 lines
		
	
	
		
			737 B
		
	
	
	
		
			JavaScript
		
	
| (function() {
 | |
|   'use strict';
 | |
| 
 | |
|   /*****************************************
 | |
|    *** Not-yet-processed message storage ***
 | |
|    *****************************************/
 | |
|   window.textsecure = window.textsecure || {};
 | |
|   window.textsecure.storage = window.textsecure.storage || {};
 | |
| 
 | |
|   window.textsecure.storage.unprocessed = {
 | |
|     getAll: function() {
 | |
|       return textsecure.storage.protocol.getAllUnprocessed();
 | |
|     },
 | |
|     add: function(data) {
 | |
|       return textsecure.storage.protocol.addUnprocessed(data);
 | |
|     },
 | |
|     update: function(id, updates) {
 | |
|       return textsecure.storage.protocol.updateUnprocessed(id, updates);
 | |
|     },
 | |
|     remove: function(id) {
 | |
|       return textsecure.storage.protocol.removeUnprocessed(id);
 | |
|     },
 | |
|   };
 | |
| })();
 |