FIX: Error loading suggested topics for anon users. (#14485)

Follow-up to fc1fd1b416
This commit is contained in:
Alan Guo Xiang Tan 2021-10-01 10:53:05 +08:00 committed by GitHub
parent dad4781806
commit f38fd1a5a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1252,6 +1252,8 @@ export default RestModel.extend({
suggested_group_name: result.suggested_group_name,
});
this.pmTopicTrackingState.startTracking();
if (this.topic.isPrivateMessage) {
this.pmTopicTrackingState.startTracking();
}
},
});