Fix nil#object_type error
This commit is contained in:
		
							parent
							
								
									624a9a7136
								
							
						
					
					
						commit
						8a6d8de60a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -101,7 +101,7 @@ class AtomSerializer
 | 
				
			||||||
    serialize_status_attributes(object, status)
 | 
					    serialize_status_attributes(object, status)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    append_element(object, 'link', nil, rel: :alternate, type: 'text/html', href: TagManager.instance.url_for(status))
 | 
					    append_element(object, 'link', nil, rel: :alternate, type: 'text/html', href: TagManager.instance.url_for(status))
 | 
				
			||||||
    append_element(object, 'thr:in-reply-to', nil, ref: TagManager.instance.uri_for(status.thread), href: TagManager.instance.url_for(status.thread)) if status.reply?
 | 
					    append_element(object, 'thr:in-reply-to', nil, ref: TagManager.instance.uri_for(status.thread), href: TagManager.instance.url_for(status.thread)) if status.reply? && !status.thread.nil?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    object
 | 
					    object
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue