mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Store hashtags when sending posts
							parent
							
								
									71583ff225
								
							
						
					
					
						commit
						ca5ba1e4a4
					
				| 
						 | 
				
			
			@ -40,6 +40,7 @@ from media import replace_you_tube
 | 
			
		|||
from media import replace_twitter
 | 
			
		||||
from media import get_media_path
 | 
			
		||||
from media import create_media_dirs
 | 
			
		||||
from inbox import store_hash_tags
 | 
			
		||||
from inbox import inbox_update_index
 | 
			
		||||
from announce import outbox_announce
 | 
			
		||||
from announce import outbox_undo_announce
 | 
			
		||||
| 
						 | 
				
			
			@ -408,6 +409,10 @@ def post_message_to_outbox(session, translate: {},
 | 
			
		|||
    if message_json['type'] != 'Upgrade':
 | 
			
		||||
        outbox_name = 'outbox'
 | 
			
		||||
 | 
			
		||||
        store_hash_tags(base_dir, post_to_nickname, domain,
 | 
			
		||||
                        http_prefix, domain_full,
 | 
			
		||||
                        message_json, translate)
 | 
			
		||||
 | 
			
		||||
        # if this is a blog post or an event then save to its own box
 | 
			
		||||
        if message_json['type'] == 'Create':
 | 
			
		||||
            if has_object_dict(message_json):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue