sylae / ligrev

XMPP MUC Utility bot
GNU General Public License v3.0
2 stars 1 forks source link

on_presence_stanza needs to correctly populate and manage $users #1

Closed sylae closed 10 years ago

sylae commented 10 years ago

Currently is a major clusterfuck and can probably be done a billion times better than the current 'implementation', which I'm pretty sure arbitrarily deletes and/or doesn't delete stuff.

sylae commented 10 years ago

I would like to have this also add three callbacks for populating database stuff:

cburschka commented 10 years ago

The presence stanzas in MUC (XEP-0045) are weird and complicated. The cadence implementation might help a bit.

Basically, nick change sometimes involves a logout with a special 303 status, followed by a login, but if the user is still logged in with the same nick from another client, it just looks like a normal login.