GUACAMOLE-96: Objects should be decorated upon add(), not undecorated (they by definition come from an external source, not the decorated extension).

This commit is contained in:
Michael Jumper
2017-11-22 09:52:59 -08:00
parent b37e041d3e
commit 63bb3a033a

View File

@@ -122,7 +122,7 @@ public abstract class DecoratingDirectory<ObjectType extends Identifiable>
@Override
public void add(ObjectType object) throws GuacamoleException {
super.add(undecorate(object));
super.add(decorate(object));
}
@Override