diff options
| author | Henry Jameson <me@hjkos.com> | 2019-03-11 02:17:49 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-03-11 02:17:58 +0200 |
| commit | 06d39b62a8358c911b18f5acc378047035840465 (patch) | |
| tree | 1d0179149d090929eec55125754b0f890b0889cc /src/modules/statuses.js | |
| parent | 489f840d84b0057cf9ddddcb8dc594bfc5ad628f (diff) | |
fixed tests, review fixes, now storing local users with downcase screen name for
better compatibility
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 2b0215f0..ea1b2de0 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -73,7 +73,7 @@ const mergeOrAdd = (arr, obj, item) => { if (oldItem) { // We already have this, so only merge the new info. // We ignore null values to avoid overwriting existing properties with missing data - // we also skip 'used' because that is handled by users module + // we also skip 'user' because that is handled by users module merge(oldItem, omitBy(item, (v, k) => v === null || k === 'user')) // Reactivity fix. oldItem.attachments.splice(oldItem.attachments.length) |
