wingbot 3.68.11 → 3.68.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.68.11",
3
+ "version": "3.68.13",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
package/src/Responder.js CHANGED
@@ -722,7 +722,7 @@ class Responder {
722
722
 
723
723
  const action = this.toAbsoluteAction(reply.action);
724
724
 
725
- if (ifNotExists && !this._quickReplyCollector.some((q) => q.action === action)) {
725
+ if (ifNotExists && this._quickReplyCollector.some((q) => q.action === action)) {
726
726
  return this;
727
727
  }
728
728
 
@@ -41,11 +41,11 @@ function htmlBodyFromTranscript (transcript, userSide = 'User', botSide = 'Bot',
41
41
  hour: 'numeric', minute: 'numeric', timeZone: options.timezone
42
42
  });
43
43
 
44
- if (lastTime === time && lastDate === time) {
44
+ if (lastTime === time && lastDate === date) {
45
45
  return [line];
46
46
  }
47
47
 
48
- const timeLine = `<i>(${lastDate === date ? '' : `${date} `}${time})</i></small>`;
48
+ const timeLine = `<i><small>(${lastDate === date ? '' : `${date} `}${time})</small></i>`;
49
49
  lastDate = date;
50
50
  lastTime = time;
51
51