mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
onions and opportunistic ircs
This commit is contained in:
parent
b8506361f6
commit
66626510e8
5 changed files with 23 additions and 5 deletions
|
@ -299,7 +299,16 @@ qDescription(source, vars, profile, itsme) {
|
|||
"xmpp:"+ MYLOWERNICK +"@"+ SERVER_HOST +" "+
|
||||
# endif
|
||||
# endif
|
||||
"irc://"+ SERVER_HOST +"/~"+ MYNICK,
|
||||
# ifdef ONION_HOST
|
||||
"irc://"+ ONION_HOST +"/~"+ MYNICK,
|
||||
# else
|
||||
# ifdef __TLS__
|
||||
"ircs://"
|
||||
# else
|
||||
"irc://"
|
||||
# endif
|
||||
+ SERVER_HOST +"/~"+ MYNICK,
|
||||
# endif
|
||||
#endif
|
||||
#ifdef JABBER_PATH
|
||||
"_identification_scheme_XMPP":
|
||||
|
|
|
@ -2056,6 +2056,10 @@ showStatus(verbosity, al, person, mc, data, vars) {
|
|||
([ "_identification": identification,
|
||||
#ifdef IRC_PATH
|
||||
"_identification_alias":
|
||||
# ifdef ONION_HOST
|
||||
"http://"+ ONION_HOST +"/"+ pathName() +" "+
|
||||
"irc://"+ ONION_HOST +"/"+ MYNICK +" "+
|
||||
# endif
|
||||
# if HAS_PORT(HTTP_PORT, HTTP_PATH) || HAS_PORT(HTTPS_PORT, HTTP_PATH)
|
||||
# ifdef PRO_PATH
|
||||
((tls_available() && HTTPS_URL) || HTTP_URL)
|
||||
|
@ -2075,7 +2079,12 @@ showStatus(verbosity, al, person, mc, data, vars) {
|
|||
"xmpp:*"+ MYLOWERNICK +"@"+ SERVER_HOST +" "+
|
||||
# endif
|
||||
# endif
|
||||
"irc://"+ SERVER_HOST +"/"+ MYNICK,
|
||||
# ifdef __TLS__
|
||||
"ircs://"
|
||||
# else
|
||||
"irc://"
|
||||
# endif
|
||||
+ SERVER_HOST +"/"+ MYNICK,
|
||||
#endif
|
||||
#ifdef JABBER_PATH
|
||||
"_identification_scheme_XMPP":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue