kopia lustrzana https://github.com/nextcloud/social
				
				
				
			import subtype
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/743/head
							rodzic
							
								
									bbc89060d0
								
							
						
					
					
						commit
						9084c5ac55
					
				|  | @ -94,7 +94,7 @@ class StreamRequestBuilder extends CoreRequestBuilder { | |||
| 		/** @noinspection PhpMethodParametersCountMismatchInspection */ | ||||
| 		$qb->selectDistinct('s.id') | ||||
| 		   ->addSelect( | ||||
| 			   's.type', 's.to', 's.to_array', 's.cc', 's.bcc', 's.content', | ||||
| 			   's.type', 's.subtype', 's.to', 's.to_array', 's.cc', 's.bcc', 's.content', | ||||
| 			   's.summary', 's.attachments', 's.published', 's.published_time', 's.cache', | ||||
| 			   's.object_id', 's.attributed_to', 's.in_reply_to', 's.source', 's.local', | ||||
| 			   's.instances', 's.creation', 's.hidden_on_timeline', 's.details', 's.hashtags' | ||||
|  |  | |||
|  | @ -632,6 +632,7 @@ class ACore extends Item implements JsonSerializable { | |||
| 	public function importFromDatabase(array $data) { | ||||
| 		$this->setId($this->validate(self::AS_ID, 'id', $data, '')); | ||||
| 		$this->setType($this->validate(self::AS_TYPE, 'type', $data, '')); | ||||
| 		$this->setSubType($this->validate(self::AS_TYPE, 'subtype', $data, '')); | ||||
| 		$this->setUrl($this->validate(self::AS_URL, 'url', $data, '')); | ||||
| 		$this->setSummary($this->validate(self::AS_STRING, 'summary', $data, '')); | ||||
| 		$this->setTo($this->validate(self::AS_ID, 'to', $data, '')); | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Maxence Lange
						Maxence Lange