Open wvffle opened 7 years ago
Like you said. Channel with id 12 doesn't exist (it's not being reported by the server). Could you try to comment out line 37 & 38 in Channel.js and continue to log the data objects. It seems like there maybe some issue where your server is reporting channel 15 before channel 12 has been reported and added to the channels object in the client.
After testing a basic example I've faced this stack:
I've logged all the
data
objects inChannel.setup
and the last one is the one that crashedThere is no channel with id
12
so there's no parent for channel15
. Also channel12
is a child of0