This commit is contained in:
		@@ -58,6 +58,14 @@ func (id *Identity) CreateFolder() error {
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (id *Identity) Wipe() error {
 | 
			
		||||
	err := os.RemoveAll(filepath.Join(GetConfig().StoragePath, id.Uuid))
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
	return nil
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Creates an invitation for a peer, returns the newly created peer including infos to provide a ContactCard
 | 
			
		||||
func (id *Identity) InvitePeer(MyName string, ContactName string, MessageServerUids []string, InvitationMessage string) (*Peer, error) {
 | 
			
		||||
	var peer Peer
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user