We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33c6749 commit e7fd412Copy full SHA for e7fd412
packages/core/src/reducers/createActivitiesReducer.ts
@@ -75,6 +75,10 @@ function getSequenceIdOrDeriveFromTimestamp(
75
76
if (typeof timestamp === 'string') {
77
return +new ponyfill.Date(timestamp);
78
+ } else if ((timestamp as any) instanceof ponyfill.Date) {
79
+ console.warn('botframework-webchat: "timestamp" must be of type string, instead of Date.');
80
+
81
+ return +timestamp;
82
}
83
84
return undefined;
0 commit comments