fix(startTyping): return, to not overwrite already existing entries

This commit is contained in:
Pascal
2018-01-22 14:09:27 +01:00
parent 00e2f39ea1
commit 8df1ac9920

View File

@@ -268,6 +268,7 @@ class TextBasedChannel {
if (this.client.user._typing.has(this.id)) {
const entry = this.client.user._typing.get(this.id);
entry.count = count || entry.count + 1;
return;
}
const entry = {