patches ext/api.js: parseMsg, _serialized#46
Conversation
…oid keep firing handler; Build chat Object from __x_to due to __x_chat is missing on join via invite-link;
|
I see... First of all, thank you so much for the PR (and happy Hacktoberfest if that's the reason you're here 🎉) [89de903] Your hotfix here just changes the method's characteristic and not its behaviour. Give me a couple of hours to look at that because:
[eba3edb] Again, sincerely, thank you for pointing those matters out. I may not have the time today to take a deeper look and run it by myself, but I will get to it as soon as possible. @nofearOnline If you want to take a look too |
[89de903]
Found error while receiving msg; I think the structure has been changed. cmiiw.
[eba3edb]
I think result item to find should be enough by matching to its
_serializedvalue, instead of comparing the object it self.Coz:
But, there's no guarantee that
chat = msg.__x_from(you have it from handler) is the EXACT same object like you are gonna look inStore.Chat.models..