From b90697264ce4cf87878f835cc12b980eb6be2fdf Mon Sep 17 00:00:00 2001 From: Kegsay Date: Tue, 15 Dec 2015 15:33:56 +0000 Subject: [PATCH] Follow the spec --- lib/http-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-api.js b/lib/http-api.js index 1f4d42a43..f8a72978b 100644 --- a/lib/http-api.js +++ b/lib/http-api.js @@ -395,7 +395,7 @@ module.exports.MatrixHttpApi.prototype = { timedOut = true; defer.reject(new module.exports.MatrixError({ error: "Locally timed out waiting for a response", - errcode: "ORG_MATRIX_JSSDK_TIMEOUT", + errcode: "ORG.MATRIX.JSSDK_TIMEOUT", timeout: localTimeoutMs })); }, localTimeoutMs);