Fixes I guess

This commit is contained in:
Daniil Gentili 2017-05-31 23:32:33 +01:00
parent f601aab2d0
commit 8af0b726ee

View File

@ -124,7 +124,7 @@ trait UpdateHandler
public function get_channel_difference($channel)
{
if (!$this->settings['updates']['handle_updates'] || $this->getting_state) {
if (!$this->settings['updates']['handle_updates']) {
return;
}
if (!$this->get_channel_state($channel)['sync_loading']) {
@ -225,7 +225,7 @@ trait UpdateHandler
public function get_updates_difference()
{
if (!$this->settings['updates']['handle_updates'] || $this->getting_state) {
if (!$this->settings['updates']['handle_updates']) {
return;
}
if (!$this->get_update_state()['sync_loading']) {