mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
/status url fix for user channels
This commit is contained in:
parent
a5b52d8264
commit
3e48f15b17
3 changed files with 7 additions and 7 deletions
|
@ -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 a new issue