Comment 9 for bug 146849

Revision history for this message
Mats (matsben) wrote : Re: [Bug 146849] Re: Possibility to fake OS and client version

On 10/2/07, sander <email address hidden> wrote:
> 2007/10/2, Mats <email address hidden>:
> > but it is untested. Note that the caps XEP is essentially completely
> rewritten
> > so its not entirely uptodate.
>
> It does not work. I tried to enter:
> set ::config(caps,fake) 1
> set ::config(caps,node) "Windows Live Messenger"
> set ::config(caps,vers) "9"
>

The node must be a uri like:
 set ::config(caps,fake) 1
 set ::config(caps,node) "http://www.microsoft.com/msn"
 set ::config(caps,vers) "9"

And it only affects disco/caps which is used by clients to identify
other clients.
It works, just tested. (The url is fake.)

> But when I look up the version information using the view business
> card dialog, I see:
> name: JabberLib
> version: 1.0
> OS: Linux
>

This is a different story
> btw, the first should be by default %theappname% and the second
> %theappversion%.
>

Fixed. It turned out I had jabberlib handler for this which wasn't
verriden by the
application handler.