mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
fix: don't save empty messages
This commit is contained in:
parent
2482da3c3f
commit
dc94f02345
1 changed files with 1 additions and 1 deletions
|
@ -2266,7 +2266,7 @@ void Session::updateEditedMessage(const MTPMessage &data) {
|
|||
{
|
||||
const auto msg = existing->originalText();
|
||||
|
||||
if (edit.textWithEntities == msg)
|
||||
if (edit.textWithEntities == msg || msg.empty())
|
||||
{
|
||||
goto proceed;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue