Function __global->_remove_empty_messages

Definitions

sources/chat.php

  • Remove any messages from the list of messages that aren't mentioned in the list of message IDs.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$messages array required parameter N/A N/A Original list of messages
$message_ids array required parameter N/A N/A List of message IDs to keep

Return

  • A new list of messages
  • Type: array
  • Set: N/A
  • Range: N/A