diff --git a/lib/plugins/matrix/index.js b/lib/plugins/matrix/index.js
index ea3b9b8be..010d5a62f 100644
--- a/lib/plugins/matrix/index.js
+++ b/lib/plugins/matrix/index.js
@@ -68,6 +68,12 @@ module.exports = {
}
break;
}
+ case 'browsertime.config': {
+ if (message.data.screenshot === true) {
+ this.screenshotType = message.data.screenshotType;
+ }
+ break;
+ }
case 'error': {
// We can send too many messages to Matrix and get 429 so instead
// we bulk send them all one time
@@ -96,7 +102,11 @@ module.exports = {
if (this.resultUrls.hasBaseUrl()) {
text += ` (result)`;
+ )}index.html">result - screenshot)`;
} else {
text += '';
}