default to static updates if not local channel
This commit is contained in:
		| @@ -140,7 +140,7 @@ class Display extends \Zotlabs\Web\Controller { | |||||||
| 		if((! $update) && (! $load)) { | 		if((! $update) && (! $load)) { | ||||||
| 	 | 	 | ||||||
|  |  | ||||||
| 			$static  = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 0); | 			$static  = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1); | ||||||
| 	 | 	 | ||||||
| 			$o .= '<div id="live-display"></div>' . "\r\n"; | 			$o .= '<div id="live-display"></div>' . "\r\n"; | ||||||
| 			$o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1)) | 			$o .= "<script> var profile_uid = " . ((intval(local_channel())) ? local_channel() : (-1)) | ||||||
|   | |||||||
| @@ -27,7 +27,7 @@ class Pubstream extends \Zotlabs\Web\Controller { | |||||||
| 	 | 	 | ||||||
| 		if(! $update) { | 		if(! $update) { | ||||||
|  |  | ||||||
| 			$static  = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 0); | 			$static  = ((local_channel()) ? channel_manual_conv_update(local_channel()) : 1); | ||||||
| 	 | 	 | ||||||
| 			$maxheight = get_config('system','home_divmore_height'); | 			$maxheight = get_config('system','home_divmore_height'); | ||||||
| 			if(! $maxheight) | 			if(! $maxheight) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user