[OTR-users] Pidgin Plugin should ignore XMPP Resource for verification

Paul Aurich paul at darkrain42.org
Tue Sep 14 22:03:03 EDT 2010


On 2010-09-14 18:46, Ian Goldberg wrote:
> One problem would be that the account name is "user at hostname/resource"
> for XMPP (prpl-jabber), and there would have to be code that "knew" that
> for the special case of prpl-jabber, this should be canonicalized to
> "user at hostname".  It's been a long time since I looked at the pidgin
> internals.  There may already be canonicalization functions for every
> prpl; I don't remember.

purple_normalize() will do this -- internally, it calls a per-prpl
normalization function; the one for XMPP generates a bare JID.

~Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-users/attachments/20100914/0b676006/attachment.pgp>


More information about the OTR-users mailing list