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",
|
"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> {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"channel_type": "DirectMessage",
|
"channel_type": "DirectMessage",
|
||||||
"recipients": &user.id,
|
"recipients": &user.id
|
||||||
"active": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"channel_type": "Group",
|
"channel_type": "Group",
|
||||||
|
|||||||
Reference in New Issue
Block a user