diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-03 22:52:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-03 22:52:41 -0400 |
commit | fc6d4cdfcc7c83163d12059a8f784442ce5c4ca9 (patch) | |
tree | 9d07328a64281723f3c87e0ebfba855133bd4556 /Assistant/Types | |
parent | 82c6426b785bc7fca45e2f5a44e1e8d29e40d7f1 (diff) |
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.
Diffstat (limited to 'Assistant/Types')
-rw-r--r-- | Assistant/Types/NetMessager.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Assistant/Types/NetMessager.hs b/Assistant/Types/NetMessager.hs index 79342b666..3df1782f8 100644 --- a/Assistant/Types/NetMessager.hs +++ b/Assistant/Types/NetMessager.hs @@ -21,8 +21,11 @@ data NetMessage -- requests other clients to inform us of their presence | QueryPresence -- notification about a stage in the pairing process, - -- involving another client identified by the Text, and a UUID. + -- involving a client identified by the Text, and a UUID. | PairingNotification PairStage Text UUID + -- notification about a stage in the pairing process with + -- other clients using the same account. + | SelfPairingNotification PairStage Text UUID deriving (Show) data NetMessagerControl = NetMessagerControl |