[DirectMessage] Fix some wrong calls after MessageModel introduction in d9a9a3746b

This commit is contained in:
2021-07-16 17:34:48 +01:00
parent 55293e4008
commit bdb4c54fa8
4 changed files with 9 additions and 9 deletions

View File

@@ -207,7 +207,7 @@ function newMessage($i)
$other = $friends[$j];
$message = Message::saveNew($user->id, $other->id, $content, 'createsim');
$message = MessageModel::saveNew(Profile::getByID($user->id), $content, 'createsim');
}*/
function newSub($i)