Files: 254c89b83aef67583e5b1b6f6cd5fdba4fb0b493 / 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