File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
packages/node_modules/@webex/redux-module-conversation/src Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ const findOldestPublishedDate = ({activity, published}) =>
122
122
const processActivities = ( {
123
123
activities, threadActivities = { } , nonThreadActivities = [ ] , oldestPublishedDate
124
124
} ) => {
125
-
126
125
let ta = threadActivities ;
127
126
let nta = nonThreadActivities ;
128
127
@@ -132,15 +131,11 @@ const processActivities = ({
132
131
133
132
for ( const activity of activities ) {
134
133
published = findOldestPublishedDate ( { activity, published} ) ;
135
-
136
134
// Split the activities into the correct buckets
137
135
const parentId = activity . parent ?. id ;
138
-
139
136
if ( parentId ) {
140
137
dirtyThreadList . add ( parentId ) ;
141
-
142
138
const threads = ta [ parentId ] ?? [ ] ;
143
-
144
139
ta = { ...ta } ;
145
140
if ( activity . parent . type === 'edit' ) {
146
141
ta [ parentId ] = markEditedActivity ( { activity, activities : threads } ) ;
@@ -275,7 +270,6 @@ export default function reducer(state = initialState, action) {
275
270
const receivedActivity = normalizeActivity ( action . payload . activity ) ;
276
271
return addActivities ( { state, addedActivities : [ receivedActivity ] } ) ;
277
272
}
278
-
279
273
case REMOVE_PARTICIPANT : {
280
274
const participants = [ ] ;
281
275
You can’t perform that action at this time.
0 commit comments