Commit 1ddc842c1c

1ddc842c1c141f1c633d28a90498fd541e032ab4

parent: 444ee62b4f

Unregistered key

vaw <git@nlih.de> · 2026-09-22 17:09 UTC
committer: <noreply@github.com>

Remove commented-out code (#729)

Layout: unified · split

docs/iamb.1 +1 −1
@@ -261,7 +261,7 @@ Delete the room's canonical alias.
261261Show the room's canonical alias, if any is set.
262262.It Sy ":room history show"
263263Show the history visibility setting for the current room.
264.It Sy ":room history set [mode]" .\" TODO: get options
264.It Sy ":room history set [mode]" .\" XXX: get options
265265Set the history visibility for the current room.
266266Valid modes are
267267.Dq invited
src/completions.rs +2 −4
@@ -188,8 +188,6 @@ mod parse {
188188 pub fn parse_started_strings(input: &str) -> IResult<&str, (Vec<String>, &str)> {
189189 let (input, (mut args, mut last_arg_raw)) =
190190 separated_list0_last_raw(space1, parse_string).parse(input)?;
191 // let (input, mut args) = separated_list0_last_raw(space1, parse_string).parse(input)?;
192 // let last_arg_raw = todo!();
193191
194192 let (input, end_arg) = if args.is_empty() {
195193 opt(parse_last_arg).parse(input)?
@@ -409,7 +407,7 @@ fn complete_iamb_create(args: Vec<String>) -> Vec<String> {
409407}
410408
411409/// Tab completion for `:room`
412// TODO: Check whether we can get the id of the focused room to improve
410// XXX: Check whether we can get the id of the focused room to improve
413411// "kick","ban","unban", ".. unset" and "dm/tag set/unset"
414412fn complete_iamb_room(args: Vec<String>, store: &ChatStore) -> Vec<String> {
415413 let subcmds = [
@@ -602,7 +600,7 @@ fn complete_cmdarg(
602600
603601 "space" => complete_iamb_space(args, store),
604602
605 // TODO: Check whether we can get the id of the focused message to improve completion
603 // XXX: Check whether we can get the id of the focused message to improve completion
606604 "unreact" if args.len() == 1 => complete_emoji(&args[0], store),
607605 "unreact" => vec![],
608606
src/windows/mod.rs +1 −1
@@ -60,7 +60,7 @@ fn name_and_labels<'a>(
6060 room_membership: MatrixRoomState,
6161 style: Style,
6262) -> (Span<'a>, Vec<Vec<Span<'static>>>) {
63 // TODO: use different colors for "mention", "notification", "muted room"
63 // XXX: use different colors for "mention", "notification", "muted room"
6464 let name_style = if unread.is_unread() {
6565 style.add_modifier(StyleModifier::BOLD)
6666 } else {