Chat: fix log type check

This commit is contained in:
Eric Bailey
2025-01-07 16:21:57 -06:00
parent 1b13ea5ab3
commit 374d28d43c
+1 -1
View File
@@ -686,7 +686,7 @@ export class Convo {
* If there's a rev, we should handle it. If there's not a rev, we don't
* know what it is.
*/
if (typeof ev.rev === 'string') {
if ('rev' in ev) {
const isUninitialized = !this.latestRev
const isNewEvent = this.latestRev && ev.rev > this.latestRev