Skip to content

Gifted Badge not directly selectable when regular donation badge already exists #13849

@cherti

Description

@cherti

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

What happened before

  • I have a Signal star donation badge
  • someone gifted me a "Gift for a Friend" UFO badge

What still happened according to plan

  • I was able to "unwrap" the gift and to redeem it

What I expected to happen then:

After redeeming the UFO badge, I expected to be able to select either the UFO or the star badge, given that I was now in possession of both.

What actually happened then:

I could only select the star badge, the UFO badge did not show up in the Donation > Select Badge > Badges.

Steps to resolve:

Disable showing the badge altogether and reenable the showing of badges on my profile picture and reenable again right away. Now the UFO shows up (and is selectable).

I haven't yet looked into the code, but it looks to me like there should be a function call to update the available badges on redemption of a gift, and not just on toggling the switch to display them or something like that, but you, knowing the codebase, will certainly have a better idea of what is wrong.

Would you like a debug log for this? Unfortunately the UFO badge is now there, and I didn't get a log before it was there, so a log might not be quite as helpful at this point I suspect as I cannot reproduce the issue anymore (or I could provide one in 61 days 😆).

Screenshots

No response

Device

No response

Android version

13

Signal version

7.27.1

Link to debug log

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions