Skip to content

fix: Use the correct chat description stock string again#7939

Merged
Hocuri merged 1 commit intomainfrom
hoc/fix-chat-description-changed-msg
Mar 3, 2026
Merged

fix: Use the correct chat description stock string again#7939
Hocuri merged 1 commit intomainfrom
hoc/fix-chat-description-changed-msg

Conversation

@Hocuri
Copy link
Collaborator

@Hocuri Hocuri commented Mar 2, 2026

Fix #7933

Apparently I was inattentive when reviewing
#7870; there even was a test that tested that the incorrect description is used XD

Thanks for noticing @r10s!

@Hocuri Hocuri requested review from iequidoo, link2xt and r10s March 2, 2026 20:45
Apparently I was inattentive when reviewing
#7870; there even was a test that
tested that the incorrect description is used XD
@Hocuri Hocuri force-pushed the hoc/fix-chat-description-changed-msg branch from 97a731b to 31896a2 Compare March 3, 2026 09:18
}

#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
async fn test_chat_description_unpromoted_description() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe merge this into the previous test, at least to not duplicate the comment?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now, everything is very systematic; there are 4 tests for the 4 combinations of the first 2 arguments. There are two places where readers might wonder why it's not tested for broadcast channels, therefore the duplicate comment

@r10s
Copy link
Contributor

r10s commented Mar 3, 2026

thanks for fixing, @Hocuri!

@Hocuri Hocuri enabled auto-merge (squash) March 3, 2026 11:33
@Hocuri Hocuri merged commit c928015 into main Mar 3, 2026
55 of 56 checks passed
@Hocuri Hocuri deleted the hoc/fix-chat-description-changed-msg branch March 3, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

channels: wrong info-message on creation with description

3 participants