forked from jmug/stoatchat
Include all channels in payload.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user