Skip to content

Deletion and editing of replaced Zig codeblocks #474

@00-kat

Description

@00-kat

Split off from #155.

Replacing a Zig codeblock moves the message to the current channel, so while this is relevant to Zig codeblocks, it is likely entirely solved by #471.

Currently, the author of a moved message is acquired from the subtext, which is hacky. More importantly, replacing a Zig codeblock doesn't actually include the author portion of the subtext, so the current code to delete or edit moved messages considers it to not be a moved message—this is “working as intended”, to avoid anyone but the author from manipulating a moved message, but obviously isn't desirable for replacement of Zig codeblocks.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions