1.1 --- a/imiptools/handlers/common.py Tue Sep 15 00:28:09 2015 +0200
1.2 +++ b/imiptools/handlers/common.py Thu Sep 17 18:08:40 2015 +0200
1.3 @@ -129,7 +129,7 @@
1.4 self.remove_freebusy_for_recurrences(freebusy, self.store.get_recurrences(self.user, self.uid))
1.5 self.store.set_freebusy(self.user, freebusy)
1.6
1.7 - if self.publisher and self.is_sharing():
1.8 + if self.publisher and self.is_sharing() and self.is_publishing():
1.9 self.publisher.set_freebusy(self.user, freebusy)
1.10
1.11 # Update free/busy provider information if the event may recur
1.12 @@ -150,7 +150,7 @@
1.13 self.remove_freebusy_for_recurrences(freebusy)
1.14 self.store.set_freebusy(self.user, freebusy)
1.15
1.16 - if self.publisher and self.is_sharing():
1.17 + if self.publisher and self.is_sharing() and self.is_publishing():
1.18 self.publisher.set_freebusy(self.user, freebusy)
1.19
1.20 # Update free/busy provider information if the event may recur