Closed ctfrancia closed 5 years ago
this is the output from the terminal:
data --> {
recipient: "christian",
content: "hi"
}
recipient --> undefined
data.recipient --> undefined
globalUsers --> {
christian: 'igi-K6FauBbf50G4AAAA',
john: 'MiehwQ2NCSvsQNH-AAAB',
}
not found :( {
christian: 'igi-K6FauBbf50G4AAAA',
john: 'MiehwQ2NCSvsQNH-AAAB',
}
Note: for support questions, please use one of these channels: stackoverflow or slack
For bug reports and feature requests for the Swift client, please open an issue there.
For bug reports and feature requests for the Java client, please open an issue there.
You want to:
Current behaviour
What is actually happening? I can't access an object's key/value pair after passing it into the socket.
Steps to reproduce (if the current behaviour is a bug)
Note: the best way (and by that we mean the only way) to get a quick answer is to provide a failing test case by forking the following fiddle.
Expected behaviour
What is expected?
Setup
Other information (e.g. stacktraces, related issues, suggestions how to fix)