Skip to content

Commit 0134a4f

Browse files
committed
Simplify the code a bit
1 parent 81f2663 commit 0134a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/lib/data/conversation/message/ConversationMessage.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ public function getUserProfile(): UserProfile
231231
*/
232232
public function canRead(): bool
233233
{
234-
$conversation = $this->getCollection()->getConversation($this);
234+
$conversation = $this->getConversation();
235235
if ($conversation === null) {
236236
return false;
237237
}

0 commit comments

Comments
 (0)