Browse Source

remove unneccessary caching

Kieran Gibb 2 years ago
parent
commit
123ec1a824
No known key found for this signature in database
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      index.js

+ 0
- 5
index.js View File

@@ -162,11 +162,6 @@ class GroupStore {
162 162
     this.config.groups.set(group.address, group._attributes())
163 163
     var success = this.config.save()
164 164
     if (!success) return false
165
-
166
-    Object.keys(group._attributes()).forEach((attr) => {
167
-      this.groups[attr] = group
168
-    })
169
-
170 165
     return true
171 166
   }
172 167
 }