Move comment, remove unused code

This commit is contained in:
Eric Bailey
2024-05-19 17:12:06 -05:00
parent 3ca671d9aa
commit 467c65a4a8
+3 -6
View File
@@ -679,6 +679,9 @@ export class Convo {
}
}
},
/*
* This is VERY important — we only want events for this convo.
*/
{convoId: this.convoId},
)
}
@@ -725,12 +728,6 @@ export class Convo {
*/
this.latestRev = ev.rev
/*
* This is VERY important. We don't want to insert any messages from
* your other chats.
*/
if (ev.convoId !== this.convoId) continue
if (
ChatBskyConvoDefs.isLogCreateMessage(ev) &&
ChatBskyConvoDefs.isMessageView(ev.message)