diff --git a/WordPress/Classes/Models/Comment+CoreDataClass.swift b/WordPress/Classes/Models/Comment+CoreDataClass.swift index 056826000d31..d8c6f8754d9e 100644 --- a/WordPress/Classes/Models/Comment+CoreDataClass.swift +++ b/WordPress/Classes/Models/Comment+CoreDataClass.swift @@ -70,6 +70,10 @@ public class Comment: NSManagedObject { /// Convenience method to check if the current user can actually moderate. /// `canModerate` is only applicable when the site is dotcom-related (hosted or atomic). For self-hosted sites, default to true. func allowsModeration() -> Bool { + if let _ = post as? ReaderPost { + return canModerate + } + guard let blog = blog, (blog.isHostedAtWPcom || blog.isAtomic()) else { return true diff --git a/WordPress/Classes/ViewRelated/Reader/ReaderCommentsViewController.swift b/WordPress/Classes/ViewRelated/Reader/ReaderCommentsViewController.swift index f539a07354fd..96d58f6dddb0 100644 --- a/WordPress/Classes/ViewRelated/Reader/ReaderCommentsViewController.swift +++ b/WordPress/Classes/ViewRelated/Reader/ReaderCommentsViewController.swift @@ -72,6 +72,7 @@ import UIKit cell.indentationWidth = Constants.indentationWidth cell.indentationLevel = min(Constants.maxIndentationLevel, Int(comment.depth)) + cell.accessoryButtonType = comment.allowsModeration() ? .ellipsis : .share cell.hidesModerationBar = true cell.configure(with: comment) { _ in tableView.performBatchUpdates({})