From 142ce4c2567ae1db25d2105c050ecb4b2eec5863 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 15 May 2018 11:50:24 +0100 Subject: [PATCH] better comment --- src/ScalarMessaging.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ScalarMessaging.js b/src/ScalarMessaging.js index 906dc6fb0f..5b81e7e7bf 100644 --- a/src/ScalarMessaging.js +++ b/src/ScalarMessaging.js @@ -406,6 +406,7 @@ function setWidget(event, roomId) { // https://docs.google.com/document/d/1uPF7XWY_dXTKVKV7jZQ2KmsI19wn9-kFRgQ1tFQP7wQ/edit?usp=sharing client.sendStateEvent(roomId, "im.vector.modular.widgets", content, widgetId).done(() => { // XXX: We should probably wait for the echo of the state event to come back from the server, + // as we do with user widgets. sendResponse(event, { success: true, });