mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed scrolling to end when media is replaced.
This commit is contained in:
@@ -3055,7 +3055,7 @@ void ApiWrap::sharedMediaDone(
|
||||
}
|
||||
|
||||
void ApiWrap::sendAction(const SendAction &action) {
|
||||
if (!action.options.scheduled) {
|
||||
if (!action.options.scheduled && !action.replaceMediaOf) {
|
||||
const auto topic = action.topicRootId
|
||||
? action.history->peer->forumTopicFor(action.topicRootId)
|
||||
: nullptr;
|
||||
|
Reference in New Issue
Block a user