Skip to content

Commit

Permalink
fix(messages): mark senders copy as read
Browse files Browse the repository at this point in the history
  • Loading branch information
hypeJunction committed Jan 26, 2016
1 parent 35d94e5 commit 25c7639
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classes/hypeJunction/Inbox/Message.php
Expand Up @@ -430,7 +430,8 @@ public function send() {
$this->owner_guid = $owner->guid; // A copy of the message is owned by each of the participants
$this->container_guid = $owner->guid;
$this->access_id = ACCESS_PRIVATE; // A copy of the message is private to its owner

$this->readYet = true;

$guid = $this->save();
if (!$guid) {
return false;
Expand Down

0 comments on commit 25c7639

Please sign in to comment.