mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
This commit is contained in:
commit
e45206ae5d
17 changed files with 81 additions and 58 deletions
|
@ -361,7 +361,7 @@ class Profile
|
|||
if ($r) {
|
||||
$remote_url = $r[0]['url'];
|
||||
$message_path = preg_replace('=(.*)/profile/(.*)=ism', '$1/message/new/', $remote_url);
|
||||
$wallmessage_link = $message_path . base64_encode($profile['addr']);
|
||||
$wallmessage_link = $message_path . base64_encode(defaults($profile, 'addr', ''));
|
||||
} else if (!empty($profile['nickname'])) {
|
||||
$wallmessage_link = 'wallmessage/' . $profile['nickname'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue