mirror of
https://github.com/friendica/friendica
synced 2024-11-19 12:23:40 +00:00
profile not set
This commit is contained in:
parent
9b50b0e16f
commit
b5bcf44354
3 changed files with 5 additions and 3 deletions
|
@ -901,7 +901,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
|
|||
*
|
||||
*/
|
||||
|
||||
function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
|
||||
function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_feed = false) {
|
||||
|
||||
require_once('simplepie/simplepie.inc');
|
||||
|
||||
|
|
|
@ -278,7 +278,8 @@ function poller_run($argv, $argc){
|
|||
continue;
|
||||
}
|
||||
|
||||
consume_feed($xml,$importer,$contact,$hub,1);
|
||||
|
||||
consume_feed($xml,$importer,$contact,$hub,1, true);
|
||||
|
||||
// do it twice. Ensures that children of parents which may be later in the stream aren't tossed
|
||||
|
||||
|
|
|
@ -446,6 +446,8 @@ function dfrn_poll_content(&$a) {
|
|||
));
|
||||
}
|
||||
|
||||
$profile = $r[0]['nickname'];
|
||||
|
||||
switch($destination_url) {
|
||||
case 'profile':
|
||||
$dest = $a->get_baseurl() . '/profile/' . $profile . '?tab=profile';
|
||||
|
@ -487,7 +489,6 @@ function dfrn_poll_content(&$a) {
|
|||
dbesc($session_id)
|
||||
);
|
||||
}
|
||||
$profile = $r[0]['nickname'];
|
||||
|
||||
goaway($dest);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue