Compare commits
No commits in common. "234edf4756c5d99106a8f566479fa70a43118681" and "5663a5f37661abf9d0f7d0dd0d885ce58357964c" have entirely different histories.
234edf4756
...
5663a5f376
@ -191,7 +191,9 @@ levenshteinDistance(a, b) {
|
||||
e.preventDefault();
|
||||
|
||||
const message = me.replaceMentionsWithAuthors(this.value);
|
||||
e.target.value = "";
|
||||
this.messageUid = null;
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
|
||||
if (!message) {
|
||||
return;
|
||||
@ -206,11 +208,12 @@ levenshteinDistance(a, b) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.updateMessage()
|
||||
|
||||
e.target.value = "";
|
||||
this.value = "";
|
||||
this.previousValue = "";
|
||||
this.messageUid = null;
|
||||
this.sendMessage(this.channelUid, message).then((uid) => {
|
||||
this.messageUid = uid;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@ -257,9 +260,7 @@ 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