Compare commits
2 Commits
5663a5f376
...
234edf4756
| Author | SHA1 | Date | |
|---|---|---|---|
| 234edf4756 | |||
|
|
5fd401bfb6 |
@ -191,9 +191,7 @@ levenshteinDistance(a, b) {
|
||||
e.preventDefault();
|
||||
|
||||
const message = me.replaceMentionsWithAuthors(this.value);
|
||||
this.messageUid = null;
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
e.target.value = "";
|
||||
|
||||
if (!message) {
|
||||
return;
|
||||
@ -208,12 +206,11 @@ levenshteinDistance(a, b) {
|
||||
return;
|
||||
}
|
||||
|
||||
e.target.value = "";
|
||||
this.updateMessage()
|
||||
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
this.messageUid = null;
|
||||
this.sendMessage(this.channelUid, message).then((uid) => {
|
||||
this.messageUid = uid;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@ -260,7 +257,9 @@ levenshteinDistance(a, b) {
|
||||
}
|
||||
|
||||
this.sendMessage(this.channelUid, this.value).then((uid) => {
|
||||
if (this.liveType) {
|
||||
this.messageUid = uid;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user