/// <summary> /// Sets the configuration values for the messenger. /// </summary> public void setConfiguration() { this._maxBuddyListLength = Configuration.getNumericConfigurationValue("users.messenger.buddylist.maxlength"); this._maxBuddyListLength = Configuration.getNumericConfigurationValue("users.messenger.buddylist.maxlength_extended"); if (this._maxBuddyListLength == 0) { this._maxBuddyListLength = 200; } if (this._maxBuddyListLength_Extended < this._maxBuddyListLength) { this._maxBuddyListLength_Extended = 600; } int maxSyncMessages = Configuration.getNumericConfigurationValue("users.messenger.postmaster.maxsyncmessages"); this._Postmaster = new messengerPostmaster(maxSyncMessages); }
/// <summary> /// Sets the configuration values for the messenger. /// </summary> public void setConfiguration() { this._maxBuddyListLength = Configuration.getNumericConfigurationValue("users.messenger.buddylist.maxlength"); this._maxBuddyListLength = Configuration.getNumericConfigurationValue("users.messenger.buddylist.maxlength_extended"); if (this._maxBuddyListLength == 0) this._maxBuddyListLength = 200; if (this._maxBuddyListLength_Extended < this._maxBuddyListLength) this._maxBuddyListLength_Extended = 600; int maxSyncMessages = Configuration.getNumericConfigurationValue("users.messenger.postmaster.maxsyncmessages"); this._Postmaster = new messengerPostmaster(maxSyncMessages); }