Remove extra debug lines

pull/21833/head
Travis Ralston 2019-03-27 13:03:25 -06:00
parent 340c24cfa7
commit 85c8d4d0e5
1 changed files with 0 additions and 2 deletions

View File

@ -70,11 +70,9 @@ export default class RoomProvider extends AutocompleteProvider {
matcherObjects = matcherObjects.filter((r) => {
const tombstone = r.room.currentState.getStateEvents("m.room.tombstone", "");
if (tombstone && tombstone.getContent() && tombstone.getContent()['replacement_room']) {
console.log(r.displayedAlias);
const hasReplacementRoom = matcherObjects.some(
(r2) => r2.room.roomId === tombstone.getContent()['replacement_room'],
);
console.log(hasReplacementRoom);
return !hasReplacementRoom;
}
return true;