Commit Graph

14 Commits

Author SHA1 Message Date
Martin Dosch
6893307841 Fix typo in license header. 2022-05-02 17:13:50 +02:00
Martin Dosch
ca8dec5ca1 Use xmppsrv for SRV lookups. 2021-09-29 18:18:58 +02:00
Martin Dosch
af17660614 Remove unnecessary else clause. 2021-03-04 20:00:42 +01:00
Martin Dosch
23cf25caa6 Split on first @ instead of the last to get the domain (thx Sam) 2021-03-03 22:10:45 +01:00
Martin Dosch
9044bbb998 Remove trailing . of hostnames. 2021-03-03 22:05:47 +01:00
Martin Dosch
4ac87d88e1 Use net.JoinHostPort for adding the port to the host (thx Sam) 2021-03-03 21:56:37 +01:00
Martin Dosch
6df64d2446 Don't use xmpps-client SRV records if target is "." 2021-03-03 17:29:17 +01:00
Martin Dosch
ec185d75d7 Update copyright year 2021-03-03 11:48:27 +01:00
Martin Dosch
d00ca7cd37 Mix xmpp-client and xmpps-client SRV records (sorted by prio) 2021-03-02 14:54:49 +01:00
Martin Dosch
4297630c32 Put back accidentally removed package declaration. 2021-02-28 17:03:52 +01:00
Martin Dosch
b097e89a53 Add license header. 2021-02-28 17:02:32 +01:00
Martin Dosch
adc2231f25 Fall back to 5222 if no xmpp-client SRV records are provided 2021-02-28 14:26:40 +01:00
Martin Dosch
0811f434cb Remove nonsense TODO 2021-02-28 14:23:42 +01:00
Martin Dosch
702ce9ff47 Look up SRV records for xmpp- and xmpps-client 2021-02-28 13:57:06 +01:00