]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
many jabber queue management changes
authorEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 20:03:52 +0000 (16:03 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 29 Aug 2008 20:03:52 +0000 (16:03 -0400)
commitf5fe013657ced6920e3fe794a2a8d4122a85e377
tree3495a0e116cbcbe052921634cd0c940c1920a3f2
parenta0f726fb6cc42bd1390ab08164329f60e5333435
many jabber queue management changes

Added a method to QueueManager to let subclasses do stuff when idle.
Needed so that XMPP queue manager can service its message queue.

Cleaned up jabber_broadcast_message quite a bit. Use custom joins
instead of loop-and-query, should fix some problems with users who are
getting messages even after turning off notification. Only build $msg
and $entry once, and use the XMPPHP function for messages with a
payload, rather than rolling our own.

darcs-hash:20080829200352-84dde-427e4ca8c81d4222a36f78e7c580b611ff0bf765.gz
lib/jabber.php
lib/queuehandler.php
scripts/xmppqueuehandler.php