mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
how ironic
This commit is contained in:
parent
817a3debec
commit
07cc9bf77d
@ -330,7 +330,7 @@ module.exports = {
|
||||
* Returns null if the input didn't match a command.
|
||||
*/
|
||||
processInput: function(roomId, input) {
|
||||
// trim any trailing whitespace, as it can confuse the parser for
|
||||
// trim any trailing whitespace, as it can confuse the parser for
|
||||
// IRC-style commands
|
||||
input = input.replace(/\s+$/, "");
|
||||
if (input[0] === "/" && input[1] !== "/") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user