Browse Source

update condition

main
ghost 10 months ago
parent
commit
849e1e1d67
  1. 10
      src/controller/room.php

10
src/controller/room.php

@ -584,20 +584,18 @@ class Room
foreach ($raw as $post) foreach ($raw as $post)
{ {
if ($post['txid'] == $quote) if ($post['txid'] == $quote)
{
if ($_post = $this->_post($namespace, $post, $raw, 'value'))
{ {
$quote = $this->_quote( $quote = $this->_quote(
$this->_post( $_post,
$namespace,
$post,
$raw,
'value'
),
true true
); );
break; break;
} }
} }
}
// Remove original mention from message // Remove original mention from message
$data['value'] = preg_replace( $data['value'] = preg_replace(

Loading…
Cancel
Save