workaround for Google Talk's insane handling of self-directed presence
Maybe the spec allows it, but broadcasting self-directed presence info to all buddies is just insane. I had to bring back the IQ messages for self-pairing, while still using directed presence for other pairing. Ugly.
This commit is contained in:
parent
9cff286ea3
commit
a6cecfcf33
6 changed files with 85 additions and 33 deletions
|
@ -44,6 +44,11 @@ For pairing, a directed presence message is sent, also using the git-annex tag:
|
|||
|
||||
<git-annex xmlns='git-annex' pairing="PairReq uuid" />
|
||||
|
||||
For pairing with other clients using the same XMPP account, git-annex uses
|
||||
IQ messages, also containing a git-annex tag. The id attribute of the iq
|
||||
tag contains the pairing information. This is done because self-directed
|
||||
presence is not handled correctly by Google Talk. (Or is ill-specified.)
|
||||
|
||||
### security
|
||||
|
||||
Data git-annex sends over XMPP will be visible to the XMPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue