Skip to content
This repository
Browse code

fix arguments to path.join - must be strings

  • Loading branch information...
commit c4b436f6634cb1cddecf4dbb4109bfb7e81dd827 1 parent 5cc3057
Mokhtar Naamani authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/profiles.js
2  lib/profiles.js
@@ -103,7 +103,7 @@ function getProfile(name){
103 103 'protocol': profile_match.protocol || 'otrtalk',
104 104 'name':name,
105 105 'buddyFingerprints':function(buddy){
106   - return path.join(this.fingerprints,buddy);
  106 + return path.join(this.fingerprints?this.fingerprints:"",buddy?buddy:"");
107 107 },
108 108 'buddies':profile_match.buddies,
109 109 'buddyID':profile_get_buddyID,

0 comments on commit c4b436f

Please sign in to comment.
Something went wrong with that request. Please try again.