Remove dead code
This commit is contained in:
@@ -623,7 +623,6 @@ define([
|
||||
var channel = obj.id;
|
||||
var chan = state.channels[channel];
|
||||
var data = obj.info;
|
||||
// XXX Teams: if someone leaves a room, don't remove their data if they're also a friend
|
||||
if (contactsData[data.curvePublic] && !(chan && chan.isFriendChat)) {
|
||||
delete contactsData[data.curvePublic];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user