1.1 --- a/imiptools/client.py Tue Sep 15 00:28:09 2015 +0200
1.2 +++ b/imiptools/client.py Thu Sep 17 18:08:40 2015 +0200
1.3 @@ -89,22 +89,44 @@
1.4 return get_window_end(self.get_tzid(), self.get_window_size())
1.5
1.6 def is_participating(self):
1.7 +
1.8 + "Return participation in the calendar system."
1.9 +
1.10 prefs = self.get_preferences()
1.11 return prefs and prefs.get("participating", "participate") != "no" or False
1.12
1.13 def is_sharing(self):
1.14 +
1.15 + "Return whether free/busy information is being generally shared."
1.16 +
1.17 prefs = self.get_preferences()
1.18 return prefs and prefs.get("freebusy_sharing") == "share" or False
1.19
1.20 def is_bundling(self):
1.21 +
1.22 + "Return whether free/busy information is being bundled in messages."
1.23 +
1.24 prefs = self.get_preferences()
1.25 return prefs and prefs.get("freebusy_bundling") == "always" or False
1.26
1.27 def is_notifying(self):
1.28 +
1.29 + "Return whether recipients are notified about free/busy payloads."
1.30 +
1.31 prefs = self.get_preferences()
1.32 return prefs and prefs.get("freebusy_messages") == "notify" or False
1.33
1.34 + def is_publishing(self):
1.35 +
1.36 + "Return whether free/busy information is being published as Web resources."
1.37 +
1.38 + prefs = self.get_preferences()
1.39 + return prefs and prefs.get("freebusy_publishing") == "publish" or False
1.40 +
1.41 def is_refreshing(self):
1.42 +
1.43 + "Return whether a recipient supports requests to refresh event details."
1.44 +
1.45 prefs = self.get_preferences()
1.46 return prefs and prefs.get("event_refreshing") == "always" or False
1.47