mail: fix creating account

This commit is contained in:
Alexander Weber 2017-12-17 10:50:24 +01:00
parent 1c72d7a424
commit f94c84df9f

View File

@ -196,7 +196,7 @@ laptop.register_view("mail:newplayer", {
return
end
if fields.create then
local cloud = app:get_cloud_storage_ref("mail")
local cloud = mtos.bdev:get_app_storage('cloud', 'mail')
cloud[mtos.sysram.last_player] = {
inbox = {},
sentbox = {}