Dear,
When you delete a friend in the client demo (RTC_Messenger), the deleted friend still exists after you login next time.
On the other hand, if you use isnull(info.asRecord['friends'].isNull[friend_name] := True;) to set its value to NULL, the node of friend_name still exists. When you save the infomation (SaveInfo(uname, info)
, the filesize (UserDataFileName + 'User.' + uname + '.info') will be increased,because of the deleted friend node still exists.This deleted friend node is useless.
So when the user deletes more friends, the filesize (UserDataFileName + 'User.' + uname + '.info') will be larger. How to solve the problem?
Best regards,
Sunstone