Mercurial > pidgin.yaz
diff libpurple/protocols/jabber/disco.c @ 26162:88f183f7dfc7
Add automatic discovery of GTalk STUN servers when using a Gtalk account
Is used for STUN candidate genration, unless a STUN server is set in prefs
Does not handle GTalk relay setup yet
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 03 Feb 2009 21:37:27 +0000 |
parents | f0c2e27c7ae7 |
children | ff4212a5268f |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c Mon Feb 02 11:37:07 2009 +0000 +++ b/libpurple/protocols/jabber/disco.c Tue Feb 03 21:37:27 2009 +0000 @@ -452,7 +452,12 @@ if (!strcmp(name, "Google Talk")) { purple_debug_info("jabber", "Google Talk!\n"); js->googletalk = TRUE; - } + + /* autodiscover stun and relays */ + jabber_google_send_jingle_info(js); + } else { + /* TODO: add external service discovery here... */ + } } for (child = xmlnode_get_child(query, "feature"); child;