Opened 11 years ago

Last modified 10 years ago

#104 new defect

gChat error when accepting subscription request

Reported by: zhangc@mit.edu Owned by: nelhage@mit.edu
Priority: major Milestone:
Component: jabber Keywords:
Cc:

Description

When I receive the following message

OWL ADMIN

Allow user (foo@gmail.com) to subscribe to your (bar@gmail.com) presence? (Answer with the yes' or no' commands)

and answer using :yes, BarnOwl outputs the error message

Invalid account: bar@gmail.com at /tmp/par-zhangc/temp-12836/dVsi26ngKZ line 1368.

Change History (3)

comment:1 Changed 11 years ago by zhangc@mit.edu

The same error results when I answer using :no.

Also, in both cases, I am able to log in to gChat through the GMail interface and approve/not the requests there, so it doesn't make the requests disappear.

comment:2 Changed 10 years ago by jgross@mit.edu

I'm pretty sure that this occurs when the id you log in with doesn't match (case-wise) with the id that you sign in with; if I registered FoO@gmail.com, and jabberlogin foo@gmail.com, this error occurs. If I jabberlogin FoO@gmail.com, it doesn't.

comment:3 Changed 10 years ago by davidben@mit.edu

In that case, AnyEvent::XMPP might end up fixing it. It has routines to appropriately stringprep JIDs before comparing them.

Note: See TracTickets for help on using tickets.