get port from preference; don't hardcode

This commit is contained in:
eehouse 2010-05-01 02:50:25 +00:00
parent fc21139d52
commit 964eedf887

View file

@ -54,7 +54,7 @@ public class CommsAddrRec {
conType = CommsConnType.COMMS_CONN_RELAY;
ip_relay_invite = "Room 1";
ip_relay_hostName = CommonPrefs.getDefaultRelayHost();
ip_relay_port = 10999;
ip_relay_port = CommonPrefs.getDefaultRelayPort();
}
public CommsAddrRec( final CommsAddrRec src )