Strip last character from ACTION messages
This commit is contained in:
parent
007dd3fe63
commit
52f929ec45
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@ function addMessage(state, message) {
|
||||
const from = message.from;
|
||||
message.from = null;
|
||||
message.type = 'action';
|
||||
message.message = from + message.message.slice(7);
|
||||
message.message = from + message.message.slice(7, -1);
|
||||
}
|
||||
|
||||
return state.updateIn([message.server, message.dest], List(),
|
||||
|
Loading…
Reference in New Issue
Block a user