imiptools/client.py | raw changeset files shortlog | client-editing-simplification |
1.1 --- a/imiptools/client.py Fri Oct 06 19:35:56 2017 +0200 1.2 +++ b/imiptools/client.py Fri Oct 06 23:20:25 2017 +0200 1.3 @@ -241,7 +241,7 @@ 1.4 if self.messenger: 1.5 if self.messenger.sender != get_address(self.user): 1.6 attr["SENT-BY"] = get_uri(self.messenger.sender) 1.7 - else: 1.8 + elif attr.has_key("SENT-BY"): 1.9 del attr["SENT-BY"] 1.10 1.11 def get_periods(self, obj, explicit_only=False, future_only=False):