Commit 829a447c authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

ReplicateStorage: Add support to empty attachment list

parent 98e303e2
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
if (this._check_remote_attachment_deletion === undefined) { if (this._check_remote_attachment_deletion === undefined) {
this._check_remote_attachment_deletion = true; this._check_remote_attachment_deletion = true;
} }
if (spec.attachment_list) { if (spec.attachment_list !== undefined) {
i_length = spec.attachment_list.length; i_length = spec.attachment_list.length;
this._attachment_dict = {}; this._attachment_dict = {};
for (i = 0; i < i_length; i += 1) { for (i = 0; i < i_length; i += 1) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment