Allow to remove pre-shared blogs of our contacts

This commit is contained in:
Torsten Grote
2017-04-26 18:51:08 -03:00
parent 3c1ea81cd0
commit 6a07d8f2c9
8 changed files with 76 additions and 123 deletions

View File

@@ -169,7 +169,7 @@ class BlogControllerImpl extends BaseControllerImpl
LocalAuthor a = identityManager.getLocalAuthor();
Blog b = blogManager.getBlog(groupId);
boolean ours = a.getId().equals(b.getAuthor().getId());
boolean removable = blogManager.canBeRemoved(groupId);
boolean removable = blogManager.canBeRemoved(b);
BlogItem blog = new BlogItem(b, ours, removable);
long duration = System.currentTimeMillis() - now;
if (LOG.isLoggable(INFO))