From 07601348996ed83e957b00a3c555508b46739e92 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 12 Jul 2016 20:11:07 +0100 Subject: [PATCH] Mention SPEC-410 in code that handles message updates --- lib/BridgedRoom.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/BridgedRoom.js b/lib/BridgedRoom.js index b5e9bfd..7db31c2 100644 --- a/lib/BridgedRoom.js +++ b/lib/BridgedRoom.js @@ -122,11 +122,13 @@ BridgedRoom.prototype.onGitterMessage = function(message) { }; if (prevMessage) { - // Matrix doesn't (yet) support message edits. So for now we'll - // note that 99% of edits in gitter are people performing little - // typo fixes or other small edits. We'll detect a common prefix - // and suffix and show only the edited region in a helpfully - // marked-up way. + // Matrix doesn't (yet) support message edits. See + // https://matrix.org/jira/browse/SPEC-410 + // + // For now we'll note that 99% of edits in gitter are people + // performing little typo fixes or other small edits. We'll + // detect a common prefix and suffix and show only the edited + // region in a helpfully marked-up way. var prev = prevMessage.text; var curr = message.text;