element-portable/src/autocomplete
Luke Barnard e18924c8fc Fix bug where a received message would remove completions for users
`Array.prototype.splice` will return the array of removed items, not a new array. The array operated on is actually modified in-place.

This was causing a few weird things to happen: https://github.com/vector-im/riot-web/issues/4511 and https://github.com/vector-im/riot-web/issues/4533. This should fix both of them but it is concerning that doing the tab completion is required to reproduce. Let's just see how this goes before closing the issues.

Thanks @turt2live for reproducing both bugs, giving enough information for a fix :)
2017-07-11 10:42:02 +01:00
..
AutocompleteProvider.js Merge branch 'develop' into rte-fixes2 2017-06-23 15:30:06 +01:00
Autocompleter.js Merge branch 'develop' into rte-fixes2 2017-06-23 15:30:06 +01:00
CommandProvider.js fix typos post-luke-review 2017-07-03 19:24:18 +01:00
Components.js remove unused imports 2017-06-02 21:35:55 +01:00
DuckDuckGoProvider.js copyright adjustments 2017-06-01 17:29:40 +01:00
EmojiProvider.js Only allow completion of emoji in certain circumstances 2017-07-07 19:02:51 +01:00
FuzzyMatcher.js Add copyright headers 2017-06-23 18:30:16 +01:00
QueryMatcher.js Don't try to match with an empty query string 2017-07-04 17:32:07 +01:00
RoomProvider.js Only truncate autocomplete pulls of Emoji, Room and UserProvider 2017-07-04 16:50:50 +01:00
UserProvider.js Fix bug where a received message would remove completions for users 2017-07-11 10:42:02 +01:00