Skip to content

Commit

Permalink
settings: Use new format to update can_mention_group setting.
Browse files Browse the repository at this point in the history
This commit updates the webapp code to use new format to update
the can_mention_group setting.
  • Loading branch information
sahil839 authored and timabbott committed May 14, 2024
1 parent 8bca565 commit 9d87131
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/src/settings_org.js
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,14 @@ export function populate_data_for_request(
};
continue;
}

if (property_name === "can_mention_group") {
data[property_name] = JSON.stringify({
new: input_value,
old: group.can_mention_group,
});
continue;
}
data[property_name] = input_value;
}
}
Expand Down

0 comments on commit 9d87131

Please sign in to comment.