Move comment, remove unused code
This commit is contained in:
@@ -679,6 +679,9 @@ export class Convo {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
* This is VERY important — we only want events for this convo.
|
||||||
|
*/
|
||||||
{convoId: this.convoId},
|
{convoId: this.convoId},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -725,12 +728,6 @@ export class Convo {
|
|||||||
*/
|
*/
|
||||||
this.latestRev = ev.rev
|
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 (
|
if (
|
||||||
ChatBskyConvoDefs.isLogCreateMessage(ev) &&
|
ChatBskyConvoDefs.isLogCreateMessage(ev) &&
|
||||||
ChatBskyConvoDefs.isMessageView(ev.message)
|
ChatBskyConvoDefs.isMessageView(ev.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user