Outgoing connect messages handled correctly.
Tried to call .get on a vanilla-js object ^^"
@@ -426,7 +426,7 @@ function parseMessage(jsonldMessage, outgoingMessage, newMessage) {
parsedMessage.data.uri = jsonldMessageImm.get("uri");
parsedMessage.data.text = jsonldMessageImm.get("hasTextMessage");
parsedMessage.data.date = msStringToDate(jsonldMessageImm.get("hasSentTimestamp"));
- if(jsonldMessage.get('hasMessageType') === won.WONMSG.connectMessage){
+ if(jsonldMessageImm.get('hasMessageType') === won.WONMSG.connectMessage){
parsedMessage.data.connectMessage = true;
}
}else{
