Remove dead code

This commit is contained in:
yflory
2019-09-16 17:27:52 +02:00
parent 1639cf780d
commit 08b105bc10
4 changed files with 1 additions and 22 deletions

View File

@@ -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];
}