Commits

Jason Green committed 9fa264c

Fixing bug with unread/read issue and conversation participants

  • Participants
  • Parent commits d92b116
  • Branches ui0.8

Comments (0)

Files changed (1)

File app/protected/modules/conversations/models/Conversation.php

                             {
                                 //At this point the createdByUser is not populated yet in the comment, so we can
                                 //use the current user.
-                                if ($participant->person != Yii::app()->user->userModel)
+                                if ($participant->person->getClassId('Item') != Yii::app()->user->userModel->getClassId('Item'))
                                 {
                                     $this->conversationParticipants[$position]->hasReadLatest = false;
                                 }