Compare commits
No commits in common. "234edf4756c5d99106a8f566479fa70a43118681" and "5663a5f37661abf9d0f7d0dd0d885ce58357964c" have entirely different histories.
234edf4756
...
5663a5f376
@ -191,7 +191,9 @@ levenshteinDistance(a, b) {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
const message = me.replaceMentionsWithAuthors(this.value);
|
const message = me.replaceMentionsWithAuthors(this.value);
|
||||||
e.target.value = "";
|
this.messageUid = null;
|
||||||
|
this.value = "";
|
||||||
|
this.previousValue = "";
|
||||||
|
|
||||||
if (!message) {
|
if (!message) {
|
||||||
return;
|
return;
|
||||||
@ -206,11 +208,12 @@ levenshteinDistance(a, b) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.updateMessage()
|
e.target.value = "";
|
||||||
|
|
||||||
this.value = "";
|
this.value = "";
|
||||||
this.previousValue = "";
|
|
||||||
this.messageUid = null;
|
this.messageUid = null;
|
||||||
|
this.sendMessage(this.channelUid, message).then((uid) => {
|
||||||
|
this.messageUid = uid;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -257,11 +260,9 @@ levenshteinDistance(a, b) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.sendMessage(this.channelUid, this.value).then((uid) => {
|
this.sendMessage(this.channelUid, this.value).then((uid) => {
|
||||||
if (this.liveType) {
|
this.messageUid = uid;
|
||||||
this.messageUid = uid;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
updateMessage() {
|
updateMessage() {
|
||||||
if (this.value[0] == "/") {
|
if (this.value[0] == "/") {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user