Remove calls to new Block that were missed from #b2cd5c7
This commit is contained in:
parent
3a7f411020
commit
b0c3897e45
@ -58,8 +58,6 @@ abstract class Base extends SlackBase
|
|||||||
$o = new Message;
|
$o = new Message;
|
||||||
|
|
||||||
if (! $this->channel() || ! $this->channel()->active) {
|
if (! $this->channel() || ! $this->channel()->active) {
|
||||||
$blocks = new Blocks;
|
|
||||||
|
|
||||||
$o->addAttachment(
|
$o->addAttachment(
|
||||||
Message\Attachment::item()
|
Message\Attachment::item()
|
||||||
->title(':robot_face: Bot not in this channel')
|
->title(':robot_face: Bot not in this channel')
|
||||||
|
@ -27,7 +27,6 @@ class ShortcutListener //implements ShouldQueue
|
|||||||
{
|
{
|
||||||
if (! $event->channel() || ! $event->channel()->active) {
|
if (! $event->channel() || ! $event->channel()->active) {
|
||||||
$modal = new Modal(Text::item(config('app.name'),'plain_text'));
|
$modal = new Modal(Text::item(config('app.name'),'plain_text'));
|
||||||
$blocks = new Blocks;
|
|
||||||
|
|
||||||
$modal->addBlock(
|
$modal->addBlock(
|
||||||
Header::item(Text::item(':robot_face: Bot not in this channel','plain_text'))
|
Header::item(Text::item(':robot_face: Bot not in this channel','plain_text'))
|
||||||
|
Loading…
Reference in New Issue
Block a user