1.1 --- a/imiptools/client.py Fri Aug 21 14:47:53 2015 +0200
1.2 +++ b/imiptools/client.py Sat Aug 29 00:14:32 2015 +0200
1.3 @@ -69,6 +69,10 @@
1.4 def get_window_end(self):
1.5 return get_window_end(self.get_tzid(), self.get_window_size())
1.6
1.7 + def is_participating(self):
1.8 + prefs = self.get_preferences()
1.9 + return prefs and prefs.get("participating", "participate") != "no" or False
1.10 +
1.11 def is_sharing(self):
1.12 prefs = self.get_preferences()
1.13 return prefs and prefs.get("freebusy_sharing") == "share" or False