aboutsummaryrefslogtreecommitdiff
path: root/lib/keyring
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-01 17:12:25 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-01 17:12:25 -0200
commitc4afc03b51d80f13ea5e379b192ed2792c10cf56 (patch)
treebb88b2a40a1a3460ccd4cff90f4ad7e39944f5f2 /lib/keyring
parentafd3cbdf1683c03ddb3656521a76066d189d27f2 (diff)
downloadkeyringer-c4afc03b51d80f13ea5e379b192ed2792c10cf56.tar.gz
keyringer-c4afc03b51d80f13ea5e379b192ed2792c10cf56.tar.bz2
Making Recipients use config path
Diffstat (limited to 'lib/keyring')
-rw-r--r--lib/keyring/recipients.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/keyring/recipients.rb b/lib/keyring/recipients.rb
index af3491e..338c93c 100644
--- a/lib/keyring/recipients.rb
+++ b/lib/keyring/recipients.rb
@@ -20,8 +20,9 @@
module Keyring
class Recipients
- def initialize(aBaseDirectory = '..')
- @recipientsStore = Backend::RecipientsStore.new(aBaseDirectory)
+ def initialize
+ path = UserConfig.instance.path
+ @recipientsStore = Backend::RecipientsStore.new(path)
end
def addRecipient(anEmail, aKeySignature)