mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-04 09:54:42 +00:00
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) => {
|
||||
// Get the actual content of the message
|
||||
self.orbit.getPost(message.payload.value, true).then((post) => {
|
||||
promise.cb(post);
|
||||
promise.cb(post.content);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user