Comment 1 for bug 140336

Revision history for this message
buzzdee (sebastia) wrote :

To use XEP-0145, XEP-0049 is needed.
I created a patch to implement XEP-0049 (jabberlib/private.tcl)
I found that XEP-0049 was already used to store GroupChat bookmarks, therefore I removed some code out of jabber/GroupChat.tcl and now use methods provided by the new part of jlib::private there.
So this works "again" with the XEP-0049 part in a separate file.

Further the patch contains a jabberlib/annotations.tcl file which implements XEP-0145.
Due to the fact that it is not yet used anywhere, it is untested ;)

I'll go try integrating it into jabber/UserInfo.tcl.
When I do so, should I search for Notes.tcl and see whether I can find an "old" note, which subseqently would be stored onto the server and removed from the Notes.tcl when the user hits the save button?
Or could I just ignore any existance of a local Notes.tcl file, that would make it probably easier to implement the stuff.

Anyways, as both XEP-0049 and XEP-0145 are historical specifications, I'm asking whether it will get included into Coccinella at all this way? Otherwise I'd stop here and just take it as a refreshing/learning TCL session ;)

cheers