[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [JDEV] Online notification?



> > I think I've got an instance where it shouldn't be sent, but is.
> > I have multiple instances of my jabber client running, all on the same
> > machine and talking to a jabbertransport also on the same machine. I don't
> > even have a rosters.xml file, so theoretically nobody should get
> > notifications. Nevertheless, whenever any client sends an online
> > notification, all other online clients recieve it.
> 
> Well, the only way that should be is if you logged in every time with the
> same user account, so each connection(session) is all under your userid.
> In that case the server will automatically notify yourself of any of your
> own chnages.

Nope, seperate userids.

> If that's not the case, it's a bug, and grab a snapshot to email me from
> the debug (-D) output of the jabbertransport when you send a status, and
> I'll check it out.

Attached.

> > Also, it would be convenient if the act of deleting somebody from your
> > roster sent you a status=offline from them. Is that a possibility?
> 
> Sure, these are often module-level issues.  The server doesn't really
> contain much of the intelligence itself, most of it is offloaded to the
> modules.  This is something I'll stick in the docs for building modules
> though, since it's something all of them should be doing.

OK. In other words, it's a behavior that I can rely on in the future?

Daniel
[Sat May 29 19:26:45 1999] lib "new_data_from=127.0.0.1"
[Sat May 29 19:26:45 1999] main "dispatch_data=<jabber version="Pyre/Python 0/0" protocol="19990505">
"
[Sat May 29 19:26:45 1999] main "Processing Normally"
[Sat May 29 19:26:45 1999] lib "new_packet=<?xml version='1.0'?><jabber version="JabberTransport/0.6" protocol="19990505">"
[Sat May 29 19:26:45 1999] lib "writing_data_to=127.0.0.1"
[Sat May 29 19:26:45 1999] lib "IO: waiting"
[Sat May 29 19:26:45 1999] lib "new_data_from=127.0.0.1"
[Sat May 29 19:26:45 1999] main "dispatch_data=<login><user>grelp</user><pass>flagg</pass><nick>ziggy</nick></login>"
[Sat May 29 19:26:45 1999] main "Processing Normally"
[Sat May 29 19:26:45 1999] main "handling_normal_packet=127.0.0.1"
[Sat May 29 19:26:45 1999] main "handle_login"
[Sat May 29 19:26:45 1999] main "get_group_user=grelp"
[Sat May 29 19:26:45 1999] main "MOD_TEST_getgroup=grelp"
[Sat May 29 19:26:45 1999] main "MOD_GROUP=grelp"
[Sat May 29 19:26:45 1999] main "get_handler_group=users"
[Sat May 29 19:26:45 1999] main "handler_in_module=mod_basic"
[Sat May 29 19:26:45 1999] main "get_handler=mod_basic"
[Sat May 29 19:26:45 1999] main "MOD_BASIC: handler_auth =grelp"
[Sat May 29 19:26:45 1999] main "MOD_BASIC: AUTH SUCCESSFUL!="
[Sat May 29 19:26:45 1999] main "new_session=grelp"
[Sat May 29 19:26:45 1999] main "lookup_session=(NULL)"
[Sat May 29 19:26:45 1999] main "get_handler_group=users"
[Sat May 29 19:26:45 1999] main "handler_in_module=mod_basic"
[Sat May 29 19:26:45 1999] main "get_handler=mod_basic"
[Sat May 29 19:26:45 1999] main "MOD_BASIC: login!=grelp"
[Sat May 29 19:26:45 1999] mod_basic "spool_file_failure=/usr/local/jabber/var/grelp.offline.xml"
[Sat May 29 19:26:45 1999] lib "IO: waiting"
[Sat May 29 19:26:46 1999] lib "new_data_from=127.0.0.1"
[Sat May 29 19:26:46 1999] main "dispatch_data=<status type="online"><say>ziggy is here</say></status>"
[Sat May 29 19:26:46 1999] main "Processing Normally"
[Sat May 29 19:26:46 1999] main "handling_normal_packet=127.0.0.1"
[Sat May 29 19:26:46 1999] main "handle_status"
[Sat May 29 19:26:46 1999] main "lookup_session=(NULL)"
[Sat May 29 19:26:46 1999] main "lookup_session=grelp"
[Sat May 29 19:26:46 1999] main "get_group_user=grelp"
[Sat May 29 19:26:46 1999] main "get_handler_group=users"
[Sat May 29 19:26:46 1999] main "handler_in_module=mod_basic"
[Sat May 29 19:26:46 1999] main "get_handler=mod_basic"
[Sat May 29 19:26:46 1999] main "MOD_BASIC_statusout_from!=grelp"
[Sat May 29 19:26:46 1999] main "get_group_user=grelp"
[Sat May 29 19:26:46 1999] main "get_handler_group=users"
[Sat May 29 19:26:46 1999] main "handler_in_module=mod_basic"
[Sat May 29 19:26:46 1999] main "get_handler=mod_basic"
[Sat May 29 19:26:46 1999] main "MOD_BASIC_statusin_to!=grelp"
[Sat May 29 19:26:46 1999] main "lookup_session=grelp"
[Sat May 29 19:26:46 1999] main "Delivering Locally"
[Sat May 29 19:26:46 1999] lib "new_packet=<status type='online'><say>ziggy is here</say><from nick='ziggy'>grelp</from></status>"
[Sat May 29 19:26:46 1999] main "get_group_user=grelp"
[Sat May 29 19:26:46 1999] main "get_handler_group=users"
[Sat May 29 19:26:46 1999] main "handler_in_module=mod_basic"
[Sat May 29 19:26:46 1999] main "get_handler=mod_basic"
[Sat May 29 19:26:46 1999] main "MOD_BASIC_statusin_to!=grelp"
[Sat May 29 19:26:46 1999] main "lookup_session=grelp"
[Sat May 29 19:26:46 1999] main "Delivering Locally"
[Sat May 29 19:26:46 1999] lib "new_packet=<status><say>Hi everybody</say><from nick='Daniel'>djarb</from></status>"
[Sat May 29 19:26:46 1999] lib "writing_data_to=127.0.0.1"
[Sat May 29 19:26:46 1999] lib "writing_data_to=127.0.0.1"
[Sat May 29 19:26:46 1999] lib "IO: waiting"