Include all channels in payload.

This commit is contained in:
Paul Makles
2021-01-24 09:20:07 +00:00
parent 9d251f794b
commit 4aaf328435
2 changed files with 2 additions and 4 deletions

View File

@@ -70,8 +70,7 @@ pub async fn generate_ready(mut user: User) -> Result<ClientboundNotification> {
},
{
"channel_type": "DirectMessage",
"recipients": &user.id,
"active": true
"recipients": &user.id
},
{
"channel_type": "Group",

View File

@@ -26,8 +26,7 @@ pub async fn generate_subscriptions(user: &User) -> Result<(), String> {
},
{
"channel_type": "DirectMessage",
"recipients": &user.id,
"active": true
"recipients": &user.id
},
{
"channel_type": "Group",