This commit is contained in:
Christian Weiske 2010-02-25 19:50:00 +01:00
parent efb71fa7f3
commit d228a306d4

View File

@ -127,6 +127,7 @@ class Roster {
$this->roster_array[$jid]['presence'][$resource] = array('priority' => $priority, 'show' => $show, 'status' => $status);
} else { //Nuke unavailable resources to save memory
unset($this->roster_array[$jid]['resource'][$resource]);
unset($this->roster_array[$jid]['presence'][$resource]);
}
}