diff --git a/roost_backend/models.py b/roost_backend/models.py index 6082aa7..1be5a04 100644 --- a/roost_backend/models.py +++ b/roost_backend/models.py @@ -185,7 +185,7 @@ def _d(octets: bytes) -> str: msg.sender = _d(notice.sender) msg.recipient = _d(notice.recipient) - msg.is_personal = bool(msg.recipient) + msg.is_personal = bool(msg.recipient and not msg.recipient.startswith('@')) msg.is_outgoing = is_outgoing if msg.is_personal: msg.conversation = msg.recipient if is_outgoing else msg.sender