[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/protocols/jabber
From:       Till Gerken <till () tantalo ! net>
Date:       2003-07-19 9:43:25
[Download RAW message or body]

CVS commit by gerken: 

Fix a _very_ rare bug that occured when a user subscribed to a contact
"allright@somewhere" but got sent the presence packets from
"AllRight@somewhere". The case mismatch made Kopete not recognize the
presence information. The Jabber protocol does not clearly state if JIDs are
to be treated case sensitive or case insensitive, my own investigations
seemed to show that the server always sends back presence packets in the
notation that you also have in your roster (i.e. if "AllRight" is in your
roster, you get the packets from "AllRight", if "allright" is in the roster
you get the packets from "allright"). I believe that this is a server error
but since the JID domains are most likely not case sensitive and the JID
user names obviously aren't, the code now treats AlLRIghT@SomEWHeRe the
same as allright@somewhere.


  M +15 -15    jabberaccount.cpp   1.57
  M +1 -1      jabbercontact.cpp   1.141



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic