Skip to content
Snippets Groups Projects
Commit 74235240 authored by Jay Friendly's avatar Jay Friendly
Browse files

Refactoring one line of code

parent 60c1994a
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ class PrivateMessageViewBuilder extends EntityViewBuilder {
$classes = ['private-message'];
$classes[] = 'private-message-' . $viewMode;
$classes[] = 'private-message-' . ($this->currentUser->id() == $entity->getOwnerId() ? 'author-self' : 'author-other');
$classes[] = 'private-message-author-' . ($this->currentUser->id() == $entity->getOwnerId() ? 'self' : 'other');
$id = 'private-message-' . $entity->id();
$build['wrapper'] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment