diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-27 11:12:27 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2012-04-27 11:12:27 +0100 |
commit | dada535a41cba45be0eff77381d6c7e19ab49f51 (patch) | |
tree | f33ab8706c38f278fbdec539e69874d72a9e1b74 /lib/mauve/configuration.rb | |
parent | ffb9ad5713f0f7b895ec142028abae16d824e3b9 (diff) |
Added better time-based people list polling, and added a "calendar" method to
the config to easily generate Procs to call for people_lists.
Diffstat (limited to 'lib/mauve/configuration.rb')
-rw-r--r-- | lib/mauve/configuration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mauve/configuration.rb b/lib/mauve/configuration.rb index 3a8f9cc..8a0b982 100644 --- a/lib/mauve/configuration.rb +++ b/lib/mauve/configuration.rb @@ -165,5 +165,9 @@ module Mauve @max_acknowledgement_time = arg end + def calendar=(x) + lambda{|at| CalendarInterface.get_attendees(x,at)} + end + end end |