diff --git a/src/addon/blog/components/entries/entries.ts b/src/addon/blog/components/entries/entries.ts index 29b225c09..8853d8842 100644 --- a/src/addon/blog/components/entries/entries.ts +++ b/src/addon/blog/components/entries/entries.ts @@ -104,7 +104,7 @@ export class AddonBlogEntriesComponent implements OnInit { this.contextInstanceId = this.courseId; } else { this.contextLevel = 'system'; - this.contextInstanceId = this.siteHomeId; + this.contextInstanceId = 0; } this.commentsEnabled = !this.commentsProvider.areCommentsDisabledInSite(); diff --git a/src/addon/messages/components/discussions/addon-messages-discussions.html b/src/addon/messages/components/discussions/addon-messages-discussions.html index 8d21aaba8..0094d0dc5 100644 --- a/src/addon/messages/components/discussions/addon-messages-discussions.html +++ b/src/addon/messages/components/discussions/addon-messages-discussions.html @@ -15,7 +15,7 @@ 0">{{discussion.message.timecreated / 1000 | coreDateDayOrTime}} -
@@ -27,7 +27,7 @@{{ 'addon.messages.numparticipants' | translate:{$a: conversation.membercount} }}
diff --git a/src/addon/messages/pages/conversation-info/conversation-info.ts b/src/addon/messages/pages/conversation-info/conversation-info.ts index dcd2597dd..5dfeb450d 100644 --- a/src/addon/messages/pages/conversation-info/conversation-info.ts +++ b/src/addon/messages/pages/conversation-info/conversation-info.ts @@ -35,14 +35,12 @@ export class AddonMessagesConversationInfoPage implements OnInit { members: AddonMessagesConversationMember[] = []; canLoadMore = false; loadMoreError = false; - siteHomeId: number; protected conversationId: number; constructor(private messagesProvider: AddonMessagesProvider, private domUtils: CoreDomUtilsProvider, navParams: NavParams, protected viewCtrl: ViewController, sitesProvider: CoreSitesProvider) { this.conversationId = navParams.get('conversationId'); - this.siteHomeId = sitesProvider.getCurrentSiteHomeId(); } /** diff --git a/src/addon/messages/pages/discussion/discussion.html b/src/addon/messages/pages/discussion/discussion.html index 5c7ea16ad..a869dad74 100644 --- a/src/addon/messages/pages/discussion/discussion.html +++ b/src/addon/messages/pages/discussion/discussion.html @@ -3,7 +3,7 @@