post orbit message on listen to callback
This commit is contained in:
parent
5a71342dcd
commit
61ae426781
|
@ -373,7 +373,7 @@ EmbarkJS.Messages.Orbit.listenTo = function(options) {
|
||||||
this.orbit.events.on('message', (topics, message) => {
|
this.orbit.events.on('message', (topics, message) => {
|
||||||
// Get the actual content of the message
|
// Get the actual content of the message
|
||||||
self.orbit.getPost(message.payload.value, true).then((post) => {
|
self.orbit.getPost(message.payload.value, true).then((post) => {
|
||||||
promise.cb(post);
|
promise.cb(post.content);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue