Skip to content

msgconv: fixed images getting removed after editing the message - #129

Open
highesttt wants to merge 1 commit into
mainfrom
highest/plat-38684
Open

msgconv: fixed images getting removed after editing the message#129
highesttt wants to merge 1 commit into
mainfrom
highest/plat-38684

Conversation

@highesttt

Copy link
Copy Markdown
Contributor

Checklist

Comment thread pkg/connector/dbmeta.go Outdated

type StoredMediaContent struct {
Content *event.MessageEventContent `json:"content"`
Extra map[string]any `json:"extra,omitempty"`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Storing message content is not allowed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I was worried that'd be the case... I think it might be harder to fix without that 😬

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Temporary in-memory caching is allowed and might be enough if there's an edit time limit. I think WhatsApp does that. Otherwise might need something like fetching the message from twitter

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't an edit time limit, but I do have something else I'd like to try locally first, might be worth trying

@highesttt
highesttt marked this pull request as draft August 31, 2026 18:44
@highesttt
highesttt marked this pull request as ready for review September 1, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants