MOBILE-4081 forum: Fix duplicated syncs
parent
f0b79822da
commit
128cd849b8
|
@ -126,6 +126,8 @@ export class AddonModForumSyncProvider extends CoreCourseActivitySyncBaseProvide
|
|||
return;
|
||||
}
|
||||
|
||||
syncedDiscussionIds.push(reply.discussionid);
|
||||
|
||||
const result = force
|
||||
? await this.syncDiscussionReplies(reply.discussionid, reply.userid, siteId)
|
||||
: await this.syncDiscussionRepliesIfNeeded(reply.discussionid, reply.userid, siteId);
|
||||
|
|
Loading…
Reference in New Issue