forked from cwtch.im/cwtch
Merge branch 'load-fix' of dan/cwtch into master
This commit is contained in:
commit
a459758070
|
@ -70,7 +70,7 @@ func (app *Application) startTor(torPath string) error {
|
|||
|
||||
// SetProfile loads an existing profile from the given filename.
|
||||
func (app *Application) SetProfile(filename string, password string) error {
|
||||
profile, err := peer.LoadCwtchPeer(filename, password)
|
||||
profile, err := peer.LoadCwtchPeer(path.Join(app.directory, filename), password)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue