Commit f4bd0de5 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

ReplicateStorage: Add support to empty attachment list

parent a1c6a5f8
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,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