1.1 --- a/imiptools/data.py Fri Oct 16 16:11:01 2015 +0200
1.2 +++ b/imiptools/data.py Fri Oct 16 16:11:43 2015 +0200
1.3 @@ -442,6 +442,14 @@
1.4 self["SEQUENCE"] = [(str(int(sequence) + (increment and 1 or 0)), {})]
1.5 return sequence
1.6
1.7 + def update_senders(self, user=None):
1.8 +
1.9 + "Remove SENT-BY attributes from properties."
1.10 +
1.11 + for identity, attr in self.get_items("ATTENDEE") or []:
1.12 + if attr.has_key("SENT-BY") and (not user or get_uri(identity) != user):
1.13 + del attr["SENT-BY"]
1.14 +
1.15 def update_exceptions(self, excluded):
1.16
1.17 """