mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Unlisted post arguments
							parent
							
								
									2919417e59
								
							
						
					
					
						commit
						e1e545506d
					
				| 
						 | 
				
			
			@ -13546,13 +13546,17 @@ class PubServer(BaseHTTPRequestHandler):
 | 
			
		|||
                                      self.server.baseDir,
 | 
			
		||||
                                      nickname,
 | 
			
		||||
                                      self.server.domain)
 | 
			
		||||
                followersOnly = False
 | 
			
		||||
                saveToFile = False
 | 
			
		||||
                clientToServer = False
 | 
			
		||||
                messageJson = \
 | 
			
		||||
                    createUnlistedPost(self.server.baseDir,
 | 
			
		||||
                                       nickname,
 | 
			
		||||
                                       self.server.domain, self.server.port,
 | 
			
		||||
                                       self.server.httpPrefix,
 | 
			
		||||
                                       mentionsStr + fields['message'],
 | 
			
		||||
                                       False, False, False, commentsEnabled,
 | 
			
		||||
                                       followersOnly, saveToFile,
 | 
			
		||||
                                       clientToServer, commentsEnabled,
 | 
			
		||||
                                       filename, attachmentMediaType,
 | 
			
		||||
                                       fields['imageDescription'],
 | 
			
		||||
                                       city,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								posts.py
								
								
								
								
							
							
						
						
									
										8
									
								
								posts.py
								
								
								
								
							| 
						 | 
				
			
			@ -1600,10 +1600,10 @@ def createUnlistedPost(baseDir: str,
 | 
			
		|||
                       clientToServer: bool, commentsEnabled: bool,
 | 
			
		||||
                       attachImageFilename: str, mediaType: str,
 | 
			
		||||
                       imageDescription: str, city: str,
 | 
			
		||||
                       inReplyTo: str = None, inReplyToAtomUri: str = None,
 | 
			
		||||
                       subject: str = None, schedulePost: bool = False,
 | 
			
		||||
                       eventDate: str = None, eventTime: str = None,
 | 
			
		||||
                       location: str = None) -> {}:
 | 
			
		||||
                       inReplyTo: str, inReplyToAtomUri: str,
 | 
			
		||||
                       subject: str, schedulePost: bool,
 | 
			
		||||
                       eventDate: str, eventTime: str,
 | 
			
		||||
                       location: str) -> {}:
 | 
			
		||||
    """Unlisted post. This has the #Public and followers links inverted.
 | 
			
		||||
    """
 | 
			
		||||
    domainFull = getFullDomain(domain, port)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue