erming / shout

Deprecated. See fork @ https://github.com/thelounge
MIT License
3.62k stars 272 forks source link

Auto-connect #163

Open lwward opened 10 years ago

lwward commented 10 years ago

I was wondering if it was possible to auto-connect to a server + channel, skipping the connect screen? It would also be nice to be able to pass a username to the page which is used by default.

My use case is for a site chat room where we already have a user base and want to make accessing the channel as easy as possible.

Thank you for the great client :+1:

erming commented 10 years ago

Oh, haven't thought about this use case, but it sounds useful!

I'll tag this issue as an upcoming feature.

But for now, you can change the default placeholder values in the connect screen by editing config.js. There's a section called defaults.

luastoned commented 10 years ago

Is there a way to auto-connect to more than one network? I usually idle on three or more, having to re-connect after an update is one of the last flaws.

spencerthayer commented 10 years ago

If you want to auto-connect it's pretty easy. At the end of shout. js add "$("#startChat").submit();" and add id="startChat" to the submit

luastoned commented 10 years ago

@spencerthayer I just realized that you can edit user.json and add networks / channels there. It will join them on startup. Pretty much solves this issue.

theVDude commented 10 years ago

Auto connect for public connections is a big deal, I just found the .submit trick last night.