Files: 22e4c815b88ce4dd17ac212d1499ff8996cef17c / 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