roost-im / roost

An experimental new Zephyr client
MIT License
4 stars 2 forks source link

Allow disconnecting from Roost #45

Open davidben opened 11 years ago

davidben commented 11 years ago

Probably the most convenient place to attach this is be unsubscribing from personals. Then we shut off the inner demon it if has no subs. This needs to be doing taking care to avoid sub/unsub races. Honestly, I'm starting to wonder if we don't want a per-user lock or something.

To avoid this causing problems if you use Roost again later, also detect if you aren't subscribed to personals in the client and offer to re-subscribe to them. (But not automatically.)

Issue #5 is also relevant.

davidben commented 11 years ago

Okay, that doesn't quite work. Ideally you'd also ZCancelSubscriptions. Hrmpf.

davidben commented 11 years ago

That you can't actually shut down an inner demon without tickets is awkward. We should maybe have a mode where we kill the demon, shoot it down with a ping, and wait 20 minutes.