comment
This commit is contained in:
parent
5ff886ba94
commit
ae127a8d51
1 changed files with 6 additions and 0 deletions
|
|
@ -457,10 +457,16 @@ const Chat = {
|
||||||
|
|
||||||
// Sanity check
|
// Sanity check
|
||||||
if (!this.isConversation && message.chat_id !== this.chat.id) {
|
if (!this.isConversation && message.chat_id !== this.chat.id) {
|
||||||
|
// This is spammy, we get chat updates from a global chat update
|
||||||
|
// handler, which naturally receives updates for ALL chats.
|
||||||
|
// There is no way to subscribe to specific chat updates and listen
|
||||||
|
// to that in the API.
|
||||||
|
/*
|
||||||
console.warn(
|
console.warn(
|
||||||
`Chat message doesn't belong to current chat (id: ${this.chat.id})!!`,
|
`Chat message doesn't belong to current chat (id: ${this.chat.id})!!`,
|
||||||
message,
|
message,
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue