Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop google from randomizing xmpp resource

In XMPP (i.e. gtalk) we can set resource to our wanting (specifying machine/location/etc) and this works well with all/most servers and clients. But in case of google it doesn't exactly work as expected because each time user connect google appends random string to the resource set by user. This is particularly annoying because many clients differentiate user chats by jid AND resource part which results in multiple windows/tabs open after one is reconnected (and new resource is generated).

tl;dr - is there a way to prevent google from appending random string to resource set by user?

like image 744
Wojtek Avatar asked Nov 03 '22 05:11

Wojtek


1 Answers

Short answer, there is no way. A resource should be unpredictable for security reasons. And The GTalk server enforces this by adding a random string to your resource.

like image 142
Alex Avatar answered Nov 17 '22 05:11

Alex