Hi,
With the latest install of jive-messenger there is an new “optional” field, name, but i can’'t add it to the registration without changing the XMPPConnecton or RegisterExtension. (maybe im doing it wrong)
basicly im collecting all the registration info in an object and use the
xmppConnection.sendRegistrationFields(this.registrationInfo);
but then the code in XMPPConnection breaks if i have other fields then the declared getters/setters at the end of RegisterExtension.
so im proposing to change the code in XMPPConnection line 448- 450 from
for( var i in fieldMap ) {
ext[i] = fieldMap[i];
}
to
for( var i in fieldMap ) {
ext.setField(i, fieldMap[i]);
}
then all the fields are send even if they are not declared in the RegisterExtension class