Active
Project:
DXMPP
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2010 at 14:50 UTC
Updated:
29 Jun 2010 at 19:08 UTC
Another option for user relationship/roster synchronization might be to have Drupal make the XMPP calls directly:
1) modify hook_user_relationships($op) implementation to call the server directly.
2) if the call fails, however, we'd need to store a flag so it's called later on cron, so we don't hang up the current page request.
3) cron would need to take care of any hanging synchs to do. we might need an admin-configurable variable to limit how many synchs to attempt.
4) once it's working, we'd remove the sub/unsub from js.
5) alternatively, allow the admin to select which type of synch to perform.
Comments
Comment #1
franskuipers commentedI feel it would be great to move the roster sync to drupal. Probably best to use XML-RPC calls.
I had the site configured, but my ejabberd server was not accepting registering new users, the site became very slow. By moving it to the server-side we can prevent this.
Comment #2
aaron commentedwill require #792950: Window persistence to be completed first.