Skip to content
Snippets Groups Projects
Commit 4aaf3284 authored by insert's avatar insert
Browse files

Include all channels in payload.

parent 9d251f79
No related merge requests found
...@@ -70,8 +70,7 @@ pub async fn generate_ready(mut user: User) -> Result<ClientboundNotification> { ...@@ -70,8 +70,7 @@ pub async fn generate_ready(mut user: User) -> Result<ClientboundNotification> {
}, },
{ {
"channel_type": "DirectMessage", "channel_type": "DirectMessage",
"recipients": &user.id, "recipients": &user.id
"active": true
}, },
{ {
"channel_type": "Group", "channel_type": "Group",
......
...@@ -26,8 +26,7 @@ pub async fn generate_subscriptions(user: &User) -> Result<(), String> { ...@@ -26,8 +26,7 @@ pub async fn generate_subscriptions(user: &User) -> Result<(), String> {
}, },
{ {
"channel_type": "DirectMessage", "channel_type": "DirectMessage",
"recipients": &user.id, "recipients": &user.id
"active": true
}, },
{ {
"channel_type": "Group", "channel_type": "Group",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment