parent
					
						
							
								817cf5ed03
							
						
					
				
			
			
				commit
				
					
						a7d78c0e9b
					
				
			
		
					 38 changed files with 2996 additions and 789 deletions
				
			
		| 
						 | 
				
			
			@ -181,6 +181,16 @@
 | 
			
		|||
        );
 | 
			
		||||
      });
 | 
			
		||||
    },
 | 
			
		||||
    prepareForSend(id) {
 | 
			
		||||
      // id is either a group id or an individual user's id
 | 
			
		||||
      const conversation = this.get(id);
 | 
			
		||||
      const sendOptions = conversation && conversation.getSendOptions();
 | 
			
		||||
      const wrap = conversation
 | 
			
		||||
        ? conversation.wrapSend.bind(conversation)
 | 
			
		||||
        : promise => promise;
 | 
			
		||||
 | 
			
		||||
      return { wrap, sendOptions };
 | 
			
		||||
    },
 | 
			
		||||
    async getAllGroupsInvolvingId(id) {
 | 
			
		||||
      const groups = await window.Signal.Data.getAllGroupsInvolvingId(id, {
 | 
			
		||||
        ConversationCollection: Whisper.ConversationCollection,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue