Closed
Bug 1146122
Opened 9 years ago
Closed 9 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•9 years ago
|
||
Reporter | ||
Comment 2•9 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 | ||
Comment 3•9 years ago
|
||
r+ with the added comment.
Reporter | ||
Updated•9 years ago
|
Attachment #8589897 -
Flags: review?(aleth) → feedback+
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8589897 -
Attachment is obsolete: true
Attachment #8596941 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/27db63dc0e76
Reporter | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 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
•