handlematrix: bridge message edits

This commit is contained in:
Skip R
2026-02-09 14:33:56 -08:00
parent 2ddba507c2
commit 7a6f59ad73
3 changed files with 26 additions and 5 deletions

View File

@@ -65,6 +65,7 @@ var discordCaps = &event.RoomFeatures{
ID: capID(),
Reply: event.CapLevelFullySupported,
Reaction: event.CapLevelFullySupported,
Edit: event.CapLevelFullySupported,
Delete: event.CapLevelFullySupported,
Formatting: event.FormattingFeatureMap{
event.FmtBold: event.CapLevelFullySupported,
@@ -137,7 +138,6 @@ var discordCaps = &event.RoomFeatures{
LocationMessage: event.CapLevelUnsupported,
MaxTextLength: MaxTextLength,
// TODO: Support threads.
// TODO: Support editing.
}
func (dc *DiscordClient) GetCapabilities(ctx context.Context, portal *bridgev2.Portal) *event.RoomFeatures {