BugFix pullservers allocation in finalize
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		| @@ -130,10 +130,11 @@ func (id *Identity) FinalizeInvitation(ReceivedContact *meowlib.ContactCard) err | |||||||
| 			id.Peers[i].ContactEncryption = ReceivedContact.EncryptionPublicKey | 			id.Peers[i].ContactEncryption = ReceivedContact.EncryptionPublicKey | ||||||
| 			id.Peers[i].ContactLookupKey = ReceivedContact.LookupPublicKey | 			id.Peers[i].ContactLookupKey = ReceivedContact.LookupPublicKey | ||||||
| 			id.Peers[i].ContactPublicKey = ReceivedContact.ContactPublicKey | 			id.Peers[i].ContactPublicKey = ReceivedContact.ContactPublicKey | ||||||
|  | 			srvs := []string{} | ||||||
| 			for srv := range ReceivedContact.PullServers { | 			for srv := range ReceivedContact.PullServers { | ||||||
| 				id.Peers[i].ContactPullServers = append(id.Peers[i].ContactPullServers, ReceivedContact.PullServers[srv].GetUid()) | 				srvs = append(srvs, ReceivedContact.PullServers[srv].GetUid()) | ||||||
| 			} | 			} | ||||||
|  | 			id.Peers[i].ContactPullServers = srvs | ||||||
| 			return nil | 			return nil | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user