1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

babeldos updated to new API

This commit is contained in:
psyc://psyced.org/~lynX 2009-12-09 01:13:05 +01:00
parent 72542a92d1
commit dbee641b88
3 changed files with 31 additions and 17 deletions

View file

@ -794,7 +794,12 @@ varargs mixed sendmsg(mixed target, string mc, mixed data, vamapping vars,
showingLog, source, u);
#endif
case 0:
#ifdef DEVELOPMENT
#if 0 //def DEVELOPMENT
// we get here when doing remote messaging
// in xmpp.. and in fact, in net/jabber we
// don't *know* which scheme needs to be
// used.
//
raise_error("scheme 0 is a bug\n");
//
// TODO: we had this error, and maybe it's

View file

@ -24,11 +24,11 @@ volatile mapping share = ([
#ifdef JABBER_PATH
# ifndef _flag_disable_module_presence
"jabber2avail": ([
0 : AVAILABILITY_HERE,
"chat" : AVAILABILITY_TALKATIVE,
"dnd" : AVAILABILITY_BUSY,
"away" : AVAILABILITY_DO_NOT_DISTURB,
"xa" : AVAILABILITY_AWAY
0 : AVAILABILITY_HERE,
"dnd" : AVAILABILITY_BUSY, // dnd?
"away" : AVAILABILITY_DO_NOT_DISTURB, // nearby?
"xa" : AVAILABILITY_AWAY // "not available"
]),
// map to http://www.jabber.org/jeps/jep-0107.html although that
// is more like good ole mud feelings