thelinuxgeekcommunity / simpleirc

A Simple IRC client for android based off of Atomic
GNU General Public License v3.0
19 stars 7 forks source link

Cannot handle two connections to same server #12

Open LeCoyote opened 7 years ago

LeCoyote commented 7 years ago

I have an instance of irssi running with the proxy module enabled. In simpleirc, I added two connexions to the server where irssi is running, on two different ports. The result is that simpleirc cannot handle the two connections. It will only connect to 1 "server", even if I tap the other one. I'm guessing it is using the server address as index, where it should be using server:port. Thanks!

jcjordyn130 commented 7 years ago

@LeCoyote What version?

LeCoyote commented 7 years ago

1.9 from F-Droid

tatokis commented 7 years ago

I am also affected by this as I use ZNC, and all different network connections go to the same server. This originally worked in Atomic and the very first releases of SimpleIRC.

From the very limited testing ability I have (as I don't have an android dev environment set up), it started happening from 1.6 and onwards. Any previously listed versions in F-Droid can not be downloaded anymore, so I can't test them.

I also made sure to wipe the local database completely before downgrading to 1.6, but the issue was still there.

jcjordyn130 commented 7 years ago

I find this issue happens with any two servers, it's a bug in the database handling code.

aphirst commented 6 years ago

I have this issue too, with ZNC. Is it possible to distinguish which virtual server using the hostname "URL" instead of in the password/username fields?