remove debug console logging
This commit is contained in:
@@ -2825,16 +2825,12 @@
|
|||||||
var myId = this.props.myUserId;
|
var myId = this.props.myUserId;
|
||||||
var topic = Tinode.getTopic(this.state.topic);
|
var topic = Tinode.getTopic(this.state.topic);
|
||||||
topic.subscribers(function(sub) {
|
topic.subscribers(function(sub) {
|
||||||
console.log("processing sub", sub);
|
|
||||||
if (sub.online && sub.user != myId) {
|
if (sub.online && sub.user != myId) {
|
||||||
console.log("sub added", sub);
|
|
||||||
subs.push(sub);
|
subs.push(sub);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.setState({onlineSubs: subs});
|
this.setState({onlineSubs: subs});
|
||||||
console.log("subs in list:", subs);
|
|
||||||
}
|
}
|
||||||
console.log("topic subscriptions updated");
|
|
||||||
},
|
},
|
||||||
|
|
||||||
handleNewMessage: function(msg) {
|
handleNewMessage: function(msg) {
|
||||||
|
|||||||
Reference in New Issue
Block a user