Comment out unused unsubscribe event
This commit is contained in:
1 parent
b2038e1a45
commit
8672dbe1e9
1 file changed
+2
-1
@@ -39,7 +39,8 @@ const unsubscribe = function(id){
|
||||
subscribers
|
||||
.filter((sub)=>{return sub.id == id;})
|
||||
.forEach((sub)=>{
|
||||
Stream.emit('sendUpdate', 'unsubscribe', { id: sub.id, shareId: sub.shareId });
|
||||
// Unsubscribe event - not currently used
|
||||
// Stream.emit('sendUpdate', 'unsubscribe', { id: sub.id, shareId: sub.shareId });
|
||||
sub?.stream?.status(200).end();
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user