buddycloud/buddycloud-webclient — pull request #93 by lloydwatkin (2012-06-14 09:55:49+00:00)
Title: Fix for RID = -1 first request.

Buddycloud is sending -1 for initial request ID (rid) to the XMPP server.

According to the spec this should be a 'large random number' (see http://xmpp.org/extensions/xep-0124.html#rids).

This is one of a number of fixes which is preventing buddycloud from using other XMPP servers (potentially more to come).