bulbul-chat
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -420,6 +420,7 @@ "use strict"; | ||
this.lastActingAt = now; | ||
this.lastActingType = actingType; | ||
return [2 /*return*/, this.chatClient.triggerUserActing(isActing ? new Date() : null, channel.id, actingType)]; | ||
} | ||
} | ||
else { | ||
else if (this.lastActingAt !== null) { | ||
this.lastActingAt = null; | ||
@@ -426,0 +427,0 @@ return [2 /*return*/, this.chatClient.triggerUserActing(null, channel.id, actingType)]; |
{ | ||
"name": "bulbul-chat", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -373,2 +373,3 @@ import { diffInSeconds } from './utils'; | ||
this.lastActingAt = now; | ||
this.lastActingType = actingType; | ||
return this.chatClient.triggerUserActing( | ||
@@ -380,3 +381,3 @@ isActing ? new Date() : null, | ||
} | ||
} else { | ||
} else if (this.lastActingAt !== null) { | ||
this.lastActingAt = null; | ||
@@ -383,0 +384,0 @@ return this.chatClient.triggerUserActing(null, channel.id, actingType); |
158351
3857