Skip to content

[Bug]: Channel URL generation call bug #4808

@skobkin

Description

@skobkin

Checklist

  • I am able to reproduce the bug with the latest version.
  • I have updated to the latest Alpha firmware, and am able to reproduce the bug. Many issues are fixed quickly in alpha before the general beta release.
  • I made sure that there are no existing OPEN or CLOSED issues which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the Contribution Guidelines.
  • I agree to follow this project's Code of Conduct
  • I actually read this list, and should be taken seriously.

Affected app version

2.7.13 (29320069)

Steps to reproduce the bug

  1. Go to "Conversations"
  2. Choose "Share Channels QR Code" from the menu
  3. Select "Add"
  4. Generate QR code

Actual behavior

  • Generates uppercase link
  • Doesn't add ?add=true query parameter

Expected behavior

  • Generates normal link
  • Adds ?add=true query parameter

Additional information

val commonUri = channelSet.getChannelUrl(shouldAddChannel)

While function declaration is:

fun ChannelSet.getChannelUrl(upperCasePrefix: Boolean = false, shouldAdd: Boolean = false): CommonUri {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions