mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
Add user array
This commit is contained in:
parent
13c19fa9da
commit
1867267513
1 changed files with 4 additions and 1 deletions
|
@ -505,7 +505,10 @@ function notification($params)
|
|||
->newNotifyMail()
|
||||
->addHeaders($datarray['headers'])
|
||||
->withRecipient($params['to_email'])
|
||||
->forUser($datarray['uid'])
|
||||
->forUser([
|
||||
'uid' => $datarray['uid'],
|
||||
'language' => $params['language'],
|
||||
])
|
||||
->withNotification($datarray['subject'], $datarray['preamble'], $datarray['title'], $datarray['body'])
|
||||
->withSiteLink($datarray['tsitelink'], $datarray['hsitelink'])
|
||||
->withItemLink($datarray['itemlink']);
|
||||
|
|
Loading…
Reference in a new issue