# HG changeset patch # User Paul Boddie # Date 1423766470 -3600 # Node ID 66ff7e91970605825003c58743e0fde136fcea14 # Parent aa2e2008a863712b23c233bdd06428662dab942e Fixed sender parameters. diff -r aa2e2008a863 -r 66ff7e919706 imiptools/handlers/person.py --- a/imiptools/handlers/person.py Thu Feb 12 17:31:22 2015 +0100 +++ b/imiptools/handlers/person.py Thu Feb 12 19:41:10 2015 +0100 @@ -115,9 +115,9 @@ user = get_uri(self.recipient) for sender, sender_attr in senders: - stored_freebusy = self.store.get_freebusy_for_other(user, other) + stored_freebusy = self.store.get_freebusy_for_other(user, sender) replace_overlapping(stored_freebusy, (dtstart, dtend), freebusy) - self.store.set_freebusy_for_other(user, other, stored_freebusy, sender) + self.store.set_freebusy_for_other(user, sender, stored_freebusy, sender) class Event(PersonHandler):