mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Chack for users path
							parent
							
								
									9b3140aa1a
								
							
						
					
					
						commit
						8e8dda6370
					
				
							
								
								
									
										11
									
								
								daemon.py
								
								
								
								
							
							
						
						
									
										11
									
								
								daemon.py
								
								
								
								
							|  | @ -2577,7 +2577,16 @@ class PubServer(BaseHTTPRequestHandler): | |||
|                 # are we already following the searched for handle? | ||||
|                 if isFollowingActor(baseDir, nickname, domain, | ||||
|                                     searchStr): | ||||
|                     actor = searchStr | ||||
|                     if not hasUsersPath(searchStr): | ||||
|                         searchNickname = getNicknameFromActor(searchStr) | ||||
|                         searchDomain, searchPort = \ | ||||
|                             getDomainFromActor(searchStr) | ||||
|                         actor = \ | ||||
|                             httpPrefix + '://' + \ | ||||
|                             getFullDomain(searchDomain, searchPort) + \ | ||||
|                             '/users/' + searchNickname | ||||
|                     else: | ||||
|                         actor = searchStr | ||||
|                     avatarUrl = \ | ||||
|                         getAvatarImageUrl(self.server.session, | ||||
|                                           baseDir, httpPrefix, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue