Skip to content

Commit

Permalink
Correct issue 7 from github and improve receive message node
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal Borschneck authored and Pascal Borschneck committed Mar 28, 2018
1 parent 77bd263 commit b39ac30
Show file tree
Hide file tree
Showing 5 changed files with 514 additions and 431 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Here is the list of the changes and features provided by the **node-red-contrib-ale-rainbow**

## [1.2.8] - 2018-03-28
- issues/7 on git: correction for receiving msg from room
- Notified_IM: 2 options ignorechat and ignoregroupchat to allow to filter one to one chat, and/or group chat
- Notified_IM: add some documentation about "fromBubbleUserJid" and "type" in the message
- Notified_IM: in case od "groupchat" type, also send the bubble in the payload

## [1.2.7] - 2018-03-05
- Notified_IM now also give payload.contact which contains sender informations
- Dependency update: SDK Node.js
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,22 @@ Accepted message format is:


3. ```RBNotified_IM``` : Input node to listen for new incoming IM from a Rainbow user or Bubble.
You can add filters to select which message may pass through (by RegExp, user or company).
You can add filters to select which message may pass through (by type, RegExp, user or company).
Delivered message format is:
```
{
"payload":{
"content":"Hello world",
"fromJid":"29487a323b00403297c1d2984b2f1d60@openrainbow.com",
}
...
},
"contact": {...},
"bubble": {}
}
```
- ```content``` is: IM content (string).
- ```fromJid``` is : Originator JID (Jabber ID) of the IM. Can be used to reply by coping this value for destJid.
Others are described in the node.

4. ```RBNotified_IM_Read``` : Input node to listen for message acknowledge.

Expand Down
Loading

0 comments on commit b39ac30

Please sign in to comment.