Closed
Bug 1146122
Opened 10 years ago
Closed 10 years ago
Handle response stanza to _sendPresence
Categories
(Chat Core :: XMPP, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: aleth, Assigned: abdelrahman)
Details
Attachments
(1 file, 1 obsolete file)
1.37 KB,
patch
|
abdelrahman
:
review+
|
Details | Diff | Splinter Review |
With the improved warnings added in bug 954960, it is apparent we don't handle the response presence stanza to the presence stanzas we send in _sendPresence.
Assignee | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 8589897 [details] [diff] [review] rev 1 - Handle response to _sendPresence Review of attachment 8589897 [details] [diff] [review]: ----------------------------------------------------------------- ::: chat/protocols/xmpp/xmpp.jsm @@ +1542,5 @@ > let priority = Math.max(-128, Math.min(127, this.getInt("priority"))); > if (priority) > children.push(Stanza.node("priority", null, null, priority.toString())); > } > + this.sendStanza(Stanza.presence({"xml:lang": "en"}, children), Please add a comment explaining the handler (something like "As we are implicitly subscribed to our own presence (rfc...), we will receive the presence stanza mirrored back to us. We don't need to do anything with this response."
Reporter | ||
Updated•10 years ago
|
Attachment #8589897 -
Flags: review?(aleth) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8589897 -
Attachment is obsolete: true
Attachment #8596941 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in
before you can comment on or make changes to this bug.
Description
•