Files: 8231016cf1abf0fb60c43b11d9ef9dbe69d6e5c0 / tmpl / docs / advanced / messages-by-user.md
394 bytesRaw
Messages by user
var pull = require('pull-stream')
pull(
sbot.createUserStream({ id: userId }),
pull.collect(function (err, msgs) { ... })
)
sbot createUserStream --id {userId}
The order of messages in an individual user's feed will be the same for all devices, and can be trusted.
Built with git-ssb-web