Imrpoved avatar handling when storing them/partly use of "micro"

This commit is contained in:
Michael Vogel 2016-06-25 13:56:55 +02:00
commit 0b1188b7fe
8 changed files with 43 additions and 24 deletions

View file

@ -1809,6 +1809,8 @@ class diaspora {
if(intval($def_gid))
group_add_member($importer["uid"], "", $contact_record["id"], $def_gid);
update_contact_avatar($ret["photo"], $importer['uid'], $contact_record["id"], true);
if($importer["page-flags"] == PAGE_NORMAL) {
$hash = random_string().(string)time(); // Generate a confirm_key