mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
Add JSON-RPC API to get reactions
This commit is contained in:
@@ -239,6 +239,10 @@ async def test_message(acfactory) -> None:
|
||||
|
||||
await message.mark_seen()
|
||||
await message.send_reaction("😎")
|
||||
reactions = await message.get_reactions()
|
||||
assert reactions
|
||||
snapshot = await message.get_snapshot()
|
||||
assert reactions == snapshot.reactions
|
||||
|
||||
|
||||
@pytest.mark.asyncio()
|
||||
|
||||
Reference in New Issue
Block a user