Adds hide comment function to daemon

This commit is contained in:
Oleg Silkin 2019-08-04 18:06:13 -04:00
parent 0f5ea0f88f
commit f898173d9d

View file

@ -4,13 +4,12 @@ import sqlite3
from asyncio import coroutine from asyncio import coroutine
from src.database.queries import delete_comment_by_id from src.database.queries import delete_comment_by_id
from src.server.misc import is_authentic_delete_signal, request_lbrynet, validate_signature_from_claim
from src.database.queries import get_comment_or_none from src.database.queries import get_comment_or_none
from src.database.queries import insert_comment from src.database.queries import insert_comment
from src.database.queries import insert_channel from src.database.queries import insert_channel
from src.database.queries import get_channel_id_from_comment_id from src.database.queries import get_channel_id_from_comment_id
from src.database.queries import hide_comment_by_id from src.database.queries import hide_comment_by_id
from src.server.misc import is_authentic_delete_signal, request_lbrynet, validate_signature_from_claim
from src.server.misc import channel_matches_pattern_or_error from src.server.misc import channel_matches_pattern_or_error
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)