Bug 1304178 - Return a promise from dispatchMessageAdd to support jsterm.execute callback for tests;r=linclark
MozReview-Commit-ID: AeRsjFiyikv
This commit is contained in:
@@ -51,7 +51,7 @@ const Message = createClass({
|
||||
// Event used in tests. Some message types don't pass it in because existing tests
|
||||
// did not emit for them.
|
||||
if (this.props.serviceContainer) {
|
||||
this.props.serviceContainer.emitNewMessage(this.messageNode);
|
||||
this.props.serviceContainer.emitNewMessage(this.messageNode, this.props.messageId);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user