Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

seems event!=='say:' never gets to believe

  • Loading branch information...
commit 7f8d4ae04518f41591e93d80ea443649168b2639 1 parent d53fbdf
@shimondoodkin authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/telepathine.js
View
1  lib/telepathine.js
@@ -324,7 +324,6 @@ Telepathine.prototype.believe = function (key, callback) {
var that = this;
this.on('set:' + key, function(peer, key, value, ttl) {
if (peer!=that.peer_name) {
- if(this.event&&this.event.substring(0,8)=='set:say:')return; // don't believe say: events(creates unwanted recursion) when doing a.believe(*,fn)
if (!_.isEqual(that.get(key), value)) {
that.set(key, value, ttl);
if (callback) {
Please sign in to comment.
Something went wrong with that request. Please try again.