You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When this code is called, it is fast on first and second execution then it takes very long time after that.
if I cleared chat on my host client and call it again it is fast then on 3rd call it takes very long time again.
I tried many things to solve it but I couldn't.
I test all the conditions and I found the issue from quotedMsg
Idk know but this code was working fine for a year. and this issue started maybe in the beginning of this month.
if (quotedMsg && type === 'chat' && !command.startsWith('!') ) {
if (message.quotedMsgObj.from == 'Xxxxxxxx@c.us'){
}
}
I thought if you could create a property of Message called isQuotedMsg which returns true or false it would be very fast to check if the message is quoting another message (reply)
Thanks for your help and work,
The text was updated successfully, but these errors were encountered:
Hello,
When this code is called, it is fast on first and second execution then it takes very long time after that.
if I cleared chat on my host client and call it again it is fast then on 3rd call it takes very long time again.
I tried many things to solve it but I couldn't.
I test all the conditions and I found the issue from
quotedMsg
Idk know but this code was working fine for a year. and this issue started maybe in the beginning of this month.
I thought if you could create a property of Message called
isQuotedMsg
which returns true or false it would be very fast to check if the message is quoting another message (reply)Thanks for your help and work,
The text was updated successfully, but these errors were encountered: