Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Parsing of patp breaks for the rest of the message if a malformed patp is found #1505

@lycurgus

Description

@lycurgus

Describe the bug
Typing text that looks like patp but isn't, breaks subsequent patp parsing in the message. E.g. the content:

~sampel-palnet ~sampel-notvalid ~sampel-sampel

will only render the first patp as a link/mention.

Screenshot:
image

To Reproduce
Steps to reproduce the behavior:

  1. Go to a group chat
  2. Send a message like the above
  3. Note that mentions after a malformed one do not parse/render

Expected behavior
Parsing should resume after a failed patp parse

Operating context

  • Device: Dell XPS 9550
  • OS: Windows 11
  • Browser: Firefox 107
  • Landscape Version: 0v1r.rjcef.sdu8l.15orr.dl5ie.r47ep.esf8n.as1cu.sbdlb.aq220.46ooa (hash of %landscape desk)

Additional context
This is on Old Groups - raised it just in case it persists in Groups 2, which I haven't tried yet :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions