Skip to content

Commit 37ad613

Browse files
tsainadhmsonowal
authored andcommitted
Update TextlocalChannel.php (#12)
set sender id from notification if having multiple sender id's to manage.
1 parent 610c6e8 commit 37ad613

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/TextlocalChannel.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ public function send($notifiable, Notification $notification)
6262
$unicode = $notification->getUnicodeMode();
6363
}
6464

65+
if (method_exists($notification, 'getSenderId')) {
66+
$this->sender = $notification->getSenderId();
67+
}
68+
6569
try {
6670
$response = $this->client
6771
->setUnicodeMode($unicode)

0 commit comments

Comments
 (0)