mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:53:41 +00:00
Bluesky: Fixes "bluesky_get_did(): Argument #1 ($handle) must be of type string, null given"
This commit is contained in:
parent
8e81330f21
commit
6c76139ce1
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ function bluesky_load_config(ConfigFileManager $loader)
|
||||||
|
|
||||||
function bluesky_check_item_notification(array &$notification_data)
|
function bluesky_check_item_notification(array &$notification_data)
|
||||||
{
|
{
|
||||||
|
if (empty($notification_data['uid'])) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$did = bluesky_get_user_did($notification_data['uid']);
|
$did = bluesky_get_user_did($notification_data['uid']);
|
||||||
|
|
||||||
if (!empty($did)) {
|
if (!empty($did)) {
|
||||||
|
|
Loading…
Reference in a new issue