Don't respond to our own messages.
This commit is contained in:
@@ -65,6 +65,9 @@ BabyStats.prototype.onChatReady_ = function(chat) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
BabyStats.prototype.onMessage_ = function(e) {
|
BabyStats.prototype.onMessage_ = function(e) {
|
||||||
|
if (e.detail.sender == this.cosmo_.currentProfile()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.handleMessage_(e.detail);
|
this.handleMessage_(e.detail);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user