Posting messages to matrix
This commit is contained in:
@@ -36,15 +36,6 @@ class Factory {
|
||||
|
||||
public static function make(array $request): Base
|
||||
{
|
||||
// During the life of the event, this method is called twice - once during Middleware processing, and finally by the Controller.
|
||||
static $o = NULL;
|
||||
static $or = NULL;
|
||||
|
||||
if (! $o OR ($or != $request)) {
|
||||
$or = $request;
|
||||
$o = self::create(Arr::get($request,'type','unknown'),$request);
|
||||
}
|
||||
|
||||
return $o;
|
||||
return self::create(Arr::get($request,'type','unknown'),$request);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user