Skip to content

[BUG] Mulitple invoices in a single note/post show up with one QR code #58

@Sakhalinfox

Description

@Sakhalinfox

Issue Description

If multiple invoices are added in a post/note/reply they show up with only a single QR code when using the -l or --lnqr parameter to view QR codes for LN invoices.

Steps to Reproduce

  1. Run Nostr_Console with -l or --lnqr parameter
  2. Create a new Post with multiple LN Invoices (In my case three LN Invoices) separated by a single space
  3. View your posts / replies in which the multiple LN Invoices exist.
  4. Only one LNQR is displayed instead of three.
  5. View the same on Damus iOS client and it shows up as three LN invoices to pay.

Screenshots from Nostr_Console:
image
image

Screenshots from Damus iOS for comparison of expected output:
image

Example reproduction details
Event ID: d13f320ee9f9f7a1bcb5030d1edded59421445266cab2cb76ebbad2c238c02dc
Note ID: note16ylnyrhfl8m6r094qvx3ah0dt9ppg3fxdj4jedmwhwkjcguvqtwqyc5d2r

Expected result

Display multiple QR codes depending on the number of LN invoices pasted in a note/post/reply.

Test Environment Details

  • OS: Arch Linux
  • Nostr_Console version: Main Branch latest Git commit (v0.3.4-beta)
  • Execution Method: Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions