summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-28_stop is a coroutine, so annotate it as oneHEADmasterJames Bottomley1-0/+1
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-12-09xmppthread: fix photo url formatJames Bottomley1-1/+4
The photo url must be https now. Also process an error otherwise the thread will crash. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2018-05-30Enable message carbons xep-0280James Bottomley1-1/+1
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2017-08-20hangupsthread: use hour timer to re-poll for presenceJames Bottomley1-0/+20
Google seems to forget to send us presence after a while, so if nothing is heard in presence terms for an hour, repoll all the known ids to retrigger google sending us presence notifications. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2017-08-17Initial CommitJames Bottomley4-0/+505
This commit has minimal functionality. It implements a basic Hangups client as an xmpp gateway with discover and command possibilities including one on one chat and presence and typing notifications. The architecture is as an XMPP gateway with initial registration sending the google id and password to the server to acquire the authentication token which is then used for subsequent logins. When the server starts up, one hangups thread per authentication token is started. The xmpp code uses SleekXMPP and is naturally threaded. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>