Skip to content

Commit

Permalink
Fix unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Era-Dorta committed Oct 6, 2024
1 parent 85cd036 commit 8d98fb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions signalbot/message.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import json
from enum import Enum
from typing import Optional


from signalbot.api import SignalAPI
Expand Down Expand Up @@ -91,6 +92,7 @@ async def parse(cls, signal: SignalAPI, raw_message: str):
raw_message["envelope"]["syncMessage"]["sentMessage"]
)
base64_attachments = None
attachments_filenames = None

# Option 2: dataMessage
elif "dataMessage" in raw_message["envelope"]:
Expand Down

0 comments on commit 8d98fb9

Please sign in to comment.