Skip to content

Commit

Permalink
messages fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hotrush committed Oct 22, 2020
1 parent ddad8c6 commit 9844a03
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Notifications/BackupHasFailed.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function toTelegram($notifiable)
]),
'exception' => $this->event->exception,
'properties' => $this->backupDestinationProperties(),
])
->options([
'parse_mode' => 'HTML',
'disable_web_page_preview' => true
]);
}
}
4 changes: 4 additions & 0 deletions src/Notifications/BackupWasSuccessful.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function toTelegram($notifiable)
'disk_name' => $this->diskName(),
]),
'properties' => $this->backupDestinationProperties(),
])
->options([
'parse_mode' => 'HTML',
'disable_web_page_preview' => true
]);
}
}
4 changes: 4 additions & 0 deletions src/Notifications/CleanupHasFailed.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function toTelegram($notifiable)
]),
'exception' => $this->event->exception,
'properties' => $this->backupDestinationProperties(),
])
->options([
'parse_mode' => 'HTML',
'disable_web_page_preview' => true
]);
}
}
4 changes: 4 additions & 0 deletions src/Notifications/CleanupWasSuccessful.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function toTelegram($notifiable)
'disk_name' => $this->diskName(),
]),
'properties' => $this->backupDestinationProperties(),
])
->options([
'parse_mode' => 'HTML',
'disable_web_page_preview' => true
]);
}
}
4 changes: 4 additions & 0 deletions src/Notifications/HealthyBackupWasFound.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ public function toTelegram($notifiable)
'disk_name' => $this->diskName(),
]),
'properties' => $this->backupDestinationProperties(),
])
->options([
'parse_mode' => 'HTML',
'disable_web_page_preview' => true
]);
}
}

0 comments on commit 9844a03

Please sign in to comment.