+ {profile, {struct,\r
+ [\r
+ {nick, Profile#profile.pseudo},\r
+ {email, Profile#profile.email},\r
+ {css, Profile#profile.css},\r
+ {chat_order, atom_to_list(Profile#profile.chat_order)},\r
+ {nick_format, atom_to_list(Profile#profile.nick_format)},\r
+ {view_times, Profile#profile.view_times},\r
+ {view_tooltips, Profile#profile.view_tooltips},\r
+ {conversations, {array, lists:map(\r
+ fun({Racine, Reduit}) ->\r
+ {struct, [{root, Racine}, {minimized, Reduit}]}\r
+ end,\r
+ Profile#profile.conversations\r
+ )}},\r
+ {ostentatious_master, atom_to_list(Profile#profile.ostentatious_master)}\r
+ ]\r
+ }}\r