[Psi-devel] [jdev] XEP-0004 and <message> and <iq>

Remko Tronçon remko at el-tramo.be
Mon Dec 11 05:36:51 PST 2006


Taking it off the jdev list, and CCing to the psi development list.

> thank you for the quick reply. any eta on psi 0.11?

No ETA yet.

> how much of an
> effort to add the required functionality? if not too much i can take a
> look at adding the required bits...

All the form processing (xmpp_xdata.cpp) and displaying
(xdata_widget.cpp) code is already there. The 'only thing' that needs
to be done is extend the message display dialog to display a form if
there is one in the message, and display a 'submit' button in the case
of a form. The code of the message display dialog (eventdlg.cpp) is
not pretty, but all the new code should only be made in that file
(except for an additional method in psiaccount to submit a form, but
that is probably 4 lines of code).

As for the IQ, this is probably even simpler, but I would not
implement this because of several security issues.

cheers,
Remko


More information about the psi-devel mailing list