mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-12-05 00:22:19 +00:00
/status url fix for user channels
This commit is contained in:
parent
a5b52d8264
commit
3e48f15b17
@ -2029,7 +2029,7 @@ showStatus(verbosity, al, person, mc, data, vars) {
|
||||
// problem with POST over https apparently..
|
||||
(HTTP_URL)
|
||||
# endif
|
||||
+ "/@"+ MYNICK +" "+
|
||||
+ "/"+ pathName() +" "+
|
||||
# endif
|
||||
# ifdef SIP_PATH
|
||||
// "sip:#"+ MYLOWERNICK +"@"+ SERVER_HOST +" "+
|
||||
@ -2126,6 +2126,11 @@ psycName() {
|
||||
return "@"+MYLOWERNICK;
|
||||
}
|
||||
|
||||
pathName() {
|
||||
ASSERT("pathName", stringp(MYNICK), MYNICK)
|
||||
return "@"+MYNICK;
|
||||
}
|
||||
|
||||
// inheritance hooks
|
||||
leave(source, mc, data, vars) { return 1; }
|
||||
enter(source, mc, data, vars) { // mayEnter?
|
||||
|
@ -631,10 +631,6 @@ numEntries() {
|
||||
return sizeof(_thread);
|
||||
}
|
||||
|
||||
pathName() {
|
||||
return psycName();
|
||||
}
|
||||
|
||||
// old stuff
|
||||
|
||||
#if 0
|
||||
|
@ -212,10 +212,9 @@ qHistoryGlimpse() {
|
||||
}
|
||||
|
||||
psycName() {
|
||||
ASSERT("psycName", stringp(MYNICK), MYNICK)
|
||||
return MYLOWERNICK;
|
||||
}
|
||||
|
||||
pathName() {
|
||||
return regreplace(psycName(), "#", "/", 1);
|
||||
return regreplace(MYNICK, "#", "/", 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user