mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 08:25:38 +00:00
Move caption to the next album item on cancel.
After #4869 albums are sent with captions in the first media. In case we cancel the first media leaving the rest of the album the caption will be lost unless we move it to the new "first" media.
This commit is contained in:
@@ -564,7 +564,6 @@ int Options::findField(not_null<Ui::InputField*> field) const {
|
||||
&Option::field) - begin(_list);
|
||||
|
||||
Ensures(result >= 0 && result < _list.size());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user