Allow setting a channel for new users to auto-join (#9291)

Release Notes:

- Automatically add new users to the #zed channel
This commit is contained in:
Conrad Irwin 2024-03-13 11:11:31 -06:00 committed by GitHub
parent 88e33a1dbe
commit 77de5689a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 39 additions and 7 deletions

View file

@ -167,7 +167,7 @@ async fn test_channel_requires_zed_cla(cx_a: &mut TestAppContext, cx_b: &mut Tes
server
.app_state
.db
.get_or_create_user_by_github_account("user_b", Some(100), None)
.get_or_create_user_by_github_account("user_b", Some(100), None, None)
.await
.unwrap();
@ -265,7 +265,7 @@ async fn test_channel_requires_zed_cla(cx_a: &mut TestAppContext, cx_b: &mut Tes
server
.app_state
.db
.add_contributor("user_b", Some(100), None)
.add_contributor("user_b", Some(100), None, None)
.await
.unwrap();