mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Extra statuses path
							parent
							
								
									1c6593bde2
								
							
						
					
					
						commit
						7ba5ecb675
					
				|  | @ -1677,7 +1677,7 @@ def receive_announce(recent_posts_cache: {}, | |||
|     if not has_users_path(message_json['object']): | ||||
|         # log any unrecognised statuses | ||||
|         if not contains_statuses(str(message_json['object'])): | ||||
|             print('WARN: unknown users path ' + str(message_json['object'])) | ||||
|             print('WARN: unknown statuses path ' + str(message_json['object'])) | ||||
|         if debug: | ||||
|             print('DEBUG: ' + | ||||
|                   '"users", "channel" or "profile" missing in ' + | ||||
|  |  | |||
							
								
								
									
										2
									
								
								utils.py
								
								
								
								
							
							
						
						
									
										2
									
								
								utils.py
								
								
								
								
							|  | @ -1508,7 +1508,7 @@ def _get_statuses_list() -> []: | |||
|             '/note/', '/notes/', '/comment/', '/post/', '/item/', '/videos/', | ||||
|             '/button/', '/x/', '/o/', '/posts/', '/items/', '/object/', '/r/', | ||||
|             '/content/', '/federation/', '/elsewhere/', '/article/', | ||||
|             '/activity/') | ||||
|             '/activity/', '/blog/') | ||||
| 
 | ||||
| 
 | ||||
| def contains_statuses(url: str) -> bool: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue