Slightly improved share message phrase factory to be more flexible.

This commit is contained in:
23rd
2025-10-03 11:27:28 +03:00
committed by John Preston
parent eb96fd1b97
commit a396f507f8
4 changed files with 13 additions and 3 deletions

View File

@@ -3908,7 +3908,9 @@ void ForwardToSelf(
.singleMessage = (count == 1),
.to1 = session->user(),
})).current();
show->showToast(std::move(phrase));
if (!phrase.empty()) {
show->showToast(std::move(phrase));
}
});
}
}