diff --git a/src/controller/room.php b/src/controller/room.php index fd4dba4..418cd30 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -602,7 +602,7 @@ class Room // Remove original mention from message $data['value'] = preg_replace( self::PARENT_REGEX, - null, + '', $this->_escape( $data['value'] ) @@ -878,7 +878,7 @@ class Room // Remove mention ID from quote $value = preg_replace( self::PARENT_REGEX, - null, + '', $this->_escape( $value )