drop support for deprecated xep-0091 in favor of xep-0203
Bug #504895 reported by
buzzdee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
In Progress
|
Low
|
buzzdee |
Bug Description
XEP-0091 Legacy delayed delivery was obsoleted on 2009-05-27.
XEP-0203 is the successor.
Coccinella should switch to support the successor.
http://
http://
Changed in coccinella: | |
assignee: | buzzdee (buzzdee) → buzzdee (sebastia) |
Changed in coccinella: | |
milestone: | 0.96.18 → 0.96.20 |
Changed in coccinella: | |
milestone: | 0.96.20 → 0.96.22 |
To post a comment you must log in.
The old xmlns used in XEP-0091 was "jabber: x:delay", the new used in XEP-203 is "urn:xmpp:delay".
In the old XEP, a X element was used, which now is a delay element.
The timestamp in the new XEP now conforms to XEP-082.
following list of files refers to the old jabber: x:delay namespace: Notifier. tcl: set delay [::Jabber::Jlib roster getx $jid "jabber: x:delay"] Growl.tcl: set delay [::Jabber: :RosterCmd getx $jid "jabber: x:delay"] RosterTree. tcl: set delay [::Jabber::Jlib roster getx $jid "jabber: x:delay"] x:delay"] x:delay "Object delayed" x:delay' x-element. x:delay stamp attribute or empty. This is ISO 8601. :getnamespacefr omchilds $xlist x "jabber: x:delay"] :getfirstchildw ithxmlns $xmldata "jabber: x:delay"] x:delay' element... x:delay from $from stamp $time] roster. tcl: set xmlns "jabber: x:delay"
components/
components/
jabber/
jabber/Roster.tcl: $attrArr(-x) x "jabber:
jabber/Jabber.tcl: jabber:
jabber/Jabber.tcl:# Takes a list of x-elements, finds any 'jabber:
jabber/Jabber.tcl:# jabber:
jabber/Jabber.tcl: set delayList [wrapper:
jabber/Jabber.tcl: set xE [wrapper:
jabber/MailBox.tcl: # Here we should probably check som 'jabber:
jabber/Chat.tcl: set xattr [list xmlns jabber:
jabberlib/
the following list of files seems to refer to the "stamp" attribute:
jabber/ RosterTree. tcl: set stamp [wrapper: :getattribute $delay stamp] RosterTree. tcl: set tstr [::Utils: :SmartClockForm at [clock scan $stamp -timezone :UTC]] x:delay stamp attribute or empty. This is ISO 8601. :getattribute $xE stamp] :GetDelayStamp $xmldata] :GetDelayStamp $xmldata] :GetDelayStamp $xmldata] x:delay from $from stamp $time] GroupChat. tcl: set stamp [::Jabber: :GetDelayStamp $xmldata] GroupChat. tcl: if {$stamp ne ""} { GroupChat. tcl: set secs [clock scan $stamp -timezone :UTC] :GetDelayStamp $xmppE] roster. tcl: set stamp [wrapper: :getattribute $presA( $jid,x, $xmlns) stamp] roster. tcl: set time [clock scan $stamp -timezone :UTC]
jabber/
jabber/Jabber.tcl:# jabber:
jabber/Jabber.tcl: if {[info exists attrArr(stamp)]} {
jabber/Jabber.tcl: set ans $attrArr(stamp)
jabber/Jabber.tcl: return [wrapper:
jabber/MailBox.tcl: set stamp [::Jabber:
jabber/MailBox.tcl: if {$stamp ne ""} {
jabber/MailBox.tcl: set secs [clock scan $stamp -timezone :UTC]
jabber/MailBox.tcl: set stamp [::Jabber:
jabber/MailBox.tcl: if {$stamp ne ""} {
jabber/MailBox.tcl: set secs [clock scan $stamp -timezone :UTC]
jabber/MailBox.tcl: set stamp [::Jabber:
jabber/MailBox.tcl: if {$stamp ne ""} {
jabber/MailBox.tcl: set secs [clock scan $stamp -timezone :UTC]
jabber/Chat.tcl:# (via the 'stamp' attribute), as well as JID of the original sender of
jabber/Chat.tcl: set xattr [list xmlns jabber:
jabber/
jabber/
jabber/
jabber/History.tcl: set stamp [::Jabber:
jabber/History.tcl: if {$stamp ne ""} {
jabber/History.tcl: set secs [clock scan $stamp -timezone :UTC]
jabberlib/
jabberlib/