Skip to content

fix: allow the composition of unchanged edited message#1578

Merged
MartinCupela merged 2 commits intomasterfrom
fix/allow-composing-unchanged-edited-message
Jul 7, 2025
Merged

fix: allow the composition of unchanged edited message#1578
MartinCupela merged 2 commits intomasterfrom
fix/allow-composing-unchanged-edited-message

Conversation

@MartinCupela
Copy link
Contributor

@MartinCupela MartinCupela commented Jul 4, 2025

Goal

Fixes GetStream/stream-chat-react#2756

We cannot reliably determine whether a message has changed semantically - e.g. adding a character and removing the same character gets us back to the initial state, but from the editing-timestamp point of view the message has changed. We would have to introduce a more sophisticated logic to determine, whether a message has changed semantically.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2025

Size Change: -63 B (-0.01%)

Total Size: 433 kB

Filename Size Change
dist/cjs/index.browser.cjs 125 kB -21 B (-0.02%)
dist/cjs/index.node.cjs 169 kB -22 B (-0.01%)
dist/esm/index.js 138 kB -20 B (-0.01%)

compressed-size-action

@MartinCupela MartinCupela merged commit 6aec136 into master Jul 7, 2025
6 checks passed
@MartinCupela MartinCupela deleted the fix/allow-composing-unchanged-edited-message branch July 7, 2025 14:02
github-actions bot pushed a commit that referenced this pull request Jul 8, 2025
## [9.10.1](v9.10.0...v9.10.1) (2025-07-08)

### Bug Fixes

* allow the composition of unchanged edited message ([#1578](#1578)) ([6aec136](6aec136))
* query reminders filter key and add channel to the reminder response ([#1575](#1575)) ([0b9be45](0b9be45))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.10.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: edit message modal "send" button is always enabled, but if there are no changes, hitting send does nothing (modal stays up)

3 participants