Skip to content

Commit

Permalink
Fix for #140: Now moderator posts to global correctly add the new mes…
Browse files Browse the repository at this point in the history
…sage icon to players in the game.
  • Loading branch information
TimothyJones committed May 10, 2015
1 parent 0d09ae7 commit 6747432
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/gamemessage.php
Expand Up @@ -72,7 +72,7 @@ static public function send($toCountryID, $fromCountryID, $message, $gameID=-1)
'".$message."',
".time().")");

if ($toCountryID != $fromCountryID)
if ($toCountryID != $fromCountryID || $fromCountryID == 0)
{
libGameMessage::notify($toCountryID, $fromCountryID);
}
Expand Down Expand Up @@ -109,4 +109,4 @@ private static function notify($toCountryID, $fromCountryID)
}
}
}
?>
?>
5 changes: 5 additions & 0 deletions locales/English/recentchanges.php
Expand Up @@ -29,6 +29,11 @@
margin-left:30px;
}
</style>
May 10th, 2015
<ul>
<li>Bugfix: Moderator posts to global press now correctly trigger the new message icon.</li>
</ul>
<div class="hr"></div>
May 1st, 2015
<ul>
<li>Spectated games; users can now spectate games that they're not in (so that games appear on their home page and notifications).</li>
Expand Down

0 comments on commit 6747432

Please sign in to comment.