mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Fix issue with poll rendering
This commit is contained in:
		@@ -196,7 +196,7 @@ class Object:
 | 
			
		||||
 | 
			
		||||
    @property
 | 
			
		||||
    def is_poll_ended(self) -> bool:
 | 
			
		||||
        if "endTime" in self.ap_object:
 | 
			
		||||
        if self.ap_object.get("endTime"):
 | 
			
		||||
            return now() > parse_isoformat(self.ap_object["endTime"])
 | 
			
		||||
        return False
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user