/status url fix for user channels

This commit is contained in:
Gabor Adam Toth 2010-02-24 06:10:19 +01:00
parent a5b52d8264
commit 3e48f15b17
3 changed files with 7 additions and 7 deletions

View File

@ -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?

View File

@ -631,10 +631,6 @@ numEntries() {
return sizeof(_thread);
}
pathName() {
return psycName();
}
// old stuff
#if 0

View File

@ -212,10 +212,9 @@ qHistoryGlimpse() {
}
psycName() {
ASSERT("psycName", stringp(MYNICK), MYNICK)
return MYLOWERNICK;
}
pathName() {
return regreplace(psycName(), "#", "/", 1);
return regreplace(MYNICK, "#", "/", 1);
}