[Psi-devel] Canceling XData Froms (XEP-0004) in messages

textshell-I1QKlO at neutronstar.dyndns.org textshell-I1QKlO at neutronstar.dyndns.org
Mon Feb 19 08:50:14 PST 2007


[CC:ed Roelof Naude because he wrote the original patch]

While debuging a crasher bug in eventdlg.cpp i found
that psi does send a reply if a user closed an event
dialog with an xdata form without asking the user. 
I think that's a very bad thing to do, because a user
doesn't expect that closing a dialog sends an message
to someone else. Jabber tries to let the user control
who gets to know if he is online, and sending an
cancel unconditionally breaks that.

I think at least we should add an messagebox where
the user can refuse to send a cancel.

I don't know the use cases of this XData in message
support, but i'm not sure if this dialog is needed,
or if it's better to let the user click the cancel
button that is already included and just do nothing
if the user closes the dialog.

So what do you think would be the right behaviour, 
and why?

 - Martin


More information about the psi-devel mailing list