Commit a3e69a315b853ea12c0c4d17c4a0e72320ba13fc
1 parent
890ad900
缺了 id 来源
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/actions/EmailAction.lua
@@ -94,7 +94,7 @@ function _M.drawAllAttachRpc(agent, data) | @@ -94,7 +94,7 @@ function _M.drawAllAttachRpc(agent, data) | ||
94 | if attachments ~= "" then | 94 | if attachments ~= "" then |
95 | email:setProperty("status", 2) | 95 | email:setProperty("status", 2) |
96 | email:log(role, 2) | 96 | email:log(role, 2) |
97 | - ids[emailId] = 1 | 97 | + ids[email:getProperty("id")] = 1 |
98 | for key, v in pairs(attachments:toNumMap()) do | 98 | for key, v in pairs(attachments:toNumMap()) do |
99 | reward[key] = (reward[key] or 0) + v | 99 | reward[key] = (reward[key] or 0) + v |
100 | end | 100 | end |