Files: c0c9508d732a53b79ef287fd75268ac0d50dda3a / 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