ignore unfollowed users from matrix
This commit is contained in:
parent
f9e0e12180
commit
710f8659b7
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,8 @@
|
|||
foreach ($result as $usern) {
|
||||
$theuser = $usern['username'];
|
||||
|
||||
$followers = $frs[$theuser];
|
||||
$followers = $frs[$theuser];
|
||||
|
||||
foreach ($followers as $follown) {
|
||||
$fn = $follown['target'];
|
||||
|
||||
|
@ -60,6 +61,7 @@
|
|||
foreach ($result as $usera) {
|
||||
$una = $usera['username'];
|
||||
$pr[$una] = 0;
|
||||
if (count($frs[$una]) == 0) continue;
|
||||
foreach ($result as $userb) {
|
||||
$unb = $userb['username'];
|
||||
$matrixe[$una][$unb] = 0;
|
||||
|
|
Loading…
Reference in a new issue