Fix a few bugs in how channels are moved around

This commit is contained in:
Mikayla Maki 2023-08-01 18:42:14 -07:00
parent 6a404dfe31
commit 7145f47454
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -2364,7 +2364,7 @@ fn build_initial_channels_update(
update.channels.push(proto::Channel {
id: channel.id.to_proto(),
name: channel.name,
parent_id: None,
parent_id: channel.parent_id.map(|id| id.to_proto()),
});
}