Open simonwelsh opened 11 years ago
We don't currently have a per-thread index of messages, so your best bet is to recreate the thread by pulling down all of the messages in a channel. This is one of the things we purposefully omitted to keep channels lightweight.
If the intent is for channels to be lightweight, then I suppose that the solution to this is to use one channel per user-thread. In some ways this is more flexible since you can have a per-thread ACL and the owner can close a single thread by revoking write permissions. Hmm.
Messages have reply_to and thread_id, so being able to get all the messages in a thread, similar to the way we can with posts, would be rather useful. Perhaps at https://alpha-api.app.net/stream/0/channels/[channel_id]/messages/[message_id]/thread