Enable inlining of images by default
Having the images embedded is nice for users, but maybe not all users
will know that it's possible and find this setting.
Change-Id: I9e35d46118672576ce62cf9edf3e30d048555836
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/src/main/java/com/googlesource/gerrit/plugins/imagare/GetConfig.java b/src/main/java/com/googlesource/gerrit/plugins/imagare/GetConfig.java
index 52b225d..1bf862a 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/imagare/GetConfig.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/imagare/GetConfig.java
@@ -37,7 +37,7 @@
ConfigInfo info = new ConfigInfo();
info.defaultProject =
MoreObjects.firstNonNull(cfg.getString("defaultProject"), "All-Projects");
- info.linkDecoration = cfg.getEnum("linkDecoration", LinkDecoration.NONE);
+ info.linkDecoration = cfg.getEnum("linkDecoration", LinkDecoration.INLINE);
if (LinkDecoration.NONE.equals(info.linkDecoration)) {
info.linkDecoration = null;
}