]> git.mxchange.org Git - friendica.git/blobdiff - src/Object/Thread.php
Merge pull request #13724 from Raroun/Fix-for-Issue-#13637---Photo-caption-prevents...
[friendica.git] / src / Object / Thread.php
index 5c12987942110caaf01161f79fe6bbeb2a5d9fba..5c825dfc7e9ac4cc4c30e45a3e839ec49a682c47 100644 (file)
@@ -80,18 +80,12 @@ class Thread
                                $this->writable = true;
                                break;
                        case Conversation::MODE_PROFILE:
-                               $this->profile_owner = $a->getProfileOwner();
-                               $this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
-                               break;
                        case Conversation::MODE_DISPLAY:
                                $this->profile_owner = $a->getProfileOwner();
                                $this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
                                break;
                        case Conversation::MODE_CHANNEL:
                        case Conversation::MODE_COMMUNITY:
-                               $this->profile_owner = 0;
-                               $this->writable = $writable;
-                               break;
                        case Conversation::MODE_CONTACTS:
                                $this->profile_owner = 0;
                                $this->writable = $writable;