Created attachment 28252 [details] [review] Patch to fix the problem described. This bug was affecting the Requests interface while using telepathy-butterfly. EnsureChannel() and CreateChannel() were reasing exceptions. It seems that there was a semantic error regarding TargetID. This patch changes _alter_properties() to search for TargetID in each handle, that would be the value returned by get_name(), which is different from handle's id. The mistake was considering TargetID == handle.get_id() in this function. Another change was in EnsureChannel(). It was testing if the channel existed before fixing the request. There was a bug in _check_basic_properties(): line 436 was enforcing the existance of a key that is allowed to be missing.
I've committed and pushed your patch as 7cd7c74e29864a82705e19e02c72d06d8f3143e3. Thanks for the work.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.