Compare commits

..

No commits in common. "eef74f1e9cf54265830a77aef63b59f15fc8e31b" and "4430d95d4089991d3664a11a941691ae53f9802f" have entirely different histories.

2 changed files with 23 additions and 28 deletions

View File

@ -1 +1 @@
v3.1.2 v3.1.1

View File

@ -306,10 +306,6 @@ namespace controllers\internals;
} }
} }
//Cut received messages by 1000 chars max
$text_parts = mb_str_split($text, 1000);
foreach ($text_parts as $text)
{
$received_id = $this->create($id_user, $id_phone, $at, $text, $origin, $status, $is_command, $mms, $media_ids); $received_id = $this->create($id_user, $id_phone, $at, $text, $origin, $status, $is_command, $mms, $media_ids);
if (!$received_id) if (!$received_id)
{ {
@ -335,7 +331,6 @@ namespace controllers\internals;
$internal_user = new User($this->bdd); $internal_user = new User($this->bdd);
$internal_user->transfer_received($id_user, $received); $internal_user->transfer_received($id_user, $received);
}
return $return; return $return;
} }