Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Mention SPEC-410 in code that handles message updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Jul 12, 2016
1 parent 8795a59 commit 0760134
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/BridgedRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0760134

Please sign in to comment.