Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io.pnut.core.broadcast-thread channel raw item for net.patter-app.broadcast's Global post #12

Open
33mhz opened this issue Sep 27, 2019 · 1 comment

Comments

@33mhz
Copy link
Contributor

33mhz commented Sep 27, 2019

A channel could add a raw item like io.pnut.core.broadcast-thread as simple as this:

{
  "type": "io.pnut.core.broadcast-thread",
  "value": {
    "thread_id": "2858"
  }
}

If a client notices this on a channel, whenever it creates a net.patter-app.broadcast, it would create the Global post as a reply_to this thread_id. Then on Global, the broadcasts would be naturally tied together in that channel's thread.

@33mhz
Copy link
Contributor Author

33mhz commented Sep 27, 2019

It's a bit of work, as a channel wouldn't inherently have a global post to associate with it... So it might have to be handled manually.

But Patter (and any other client that can create io.pnut.core.chat rooms), for example, could add an optional "Broadcast this" option when creating a public channel, which would automatically create an initial broadcast from the channel, announcing its creation and tying the channel to the new post. This seems like a very nice feature regardless of the new Broadcast functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant