mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Switch uid with nickname in user picture URLs
- Keep previous URL scheme fallback as remote contact avatar URLs pointing to local user avatar URLs need to update
This commit is contained in:
parent
7cdd2d1336
commit
8cb0bb5deb
3 changed files with 33 additions and 14 deletions
|
@ -879,7 +879,7 @@ class User
|
|||
}
|
||||
}
|
||||
|
||||
return $url . $user['uid'] . image_type_to_extension($imagetype) . ($updated ? '?ts=' . strtotime($updated) : '');
|
||||
return $url . $user['nickname'] . image_type_to_extension($imagetype) . ($updated ? '?ts=' . strtotime($updated) : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue