Files: 6a055e1be48956691b060c261266f3d9e41250d9 / 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