mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
use the UNick
This commit is contained in:
parent
8e4e990261
commit
6fd2423ff9
17 changed files with 52 additions and 56 deletions
|
@ -150,7 +150,7 @@ varargs string mkjid(mixed who, mixed vars, mixed ignore_context, string target
|
|||
t = PLACEPREFIX + NODEPREP(vars["_nick_place"]) +"@"+ NAMEPREP(jabberhost);
|
||||
} else if (u = parse_uniform(vars["_context"])) {
|
||||
if (u[UScheme] == "psyc")
|
||||
t = PLACEPREFIX + NODEPREP(u[UResource][1..]) + "@" + NAMEPREP(u[UHost]);
|
||||
t = PLACEPREFIX + NODEPREP(u[UNick]) + "@" + NAMEPREP(u[UHost]);
|
||||
else // here we presume we have a u@h or xmpp:
|
||||
t = NODEPREP(u[UUser]) + "@" + NAMEPREP(u[UHost]);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue