Closed dennyabrain closed 4 months ago
WIP Notes
event / actions | command | test |
---|---|---|
message received on webhook from bsp | UserMessage.Conversation.add_message(message) | YES |
message added to conversation | MediaMatch.Blake2B.create_job | MANUAL TEST because involves RabbitMQ |
response received from blake2b worker response | MediaMatch.Blake2B.worker_response_received | YES |
Hash value and metadata added | UserMessage.Conversation.associate_hash_meta_with_feed | YES |
event | command | test |
---|---|---|
User approves match | UserMessage.Conversation.copy_fields() | |
fields are copied | UserMessage.Conversation.send_response() |
Pending
Creating Conversation from common_id
query = Repo.get(Common, 9) |> Repo.preload(query: [:feed_common, :user_message_outbox, messages: [:hash]]) |> Map.get(:query)
Conversation.build(query)
show matches - MediaMatch.Blake2B.get_matches show response - MediaMatch.Blake2B.get_response
https://github.com/tattle-made/DAU/issues/89 https://github.com/tattle-made/DAU/issues/57