mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Refresh file references when sending stickers.
This commit is contained in:
@@ -302,7 +302,7 @@ void StickerSetBox::Inner::mouseReleaseEvent(QMouseEvent *e) {
|
||||
int index = stickerFromGlobalPos(e->globalPos());
|
||||
if (index >= 0 && index < _pack.size() && !isMasksSet()) {
|
||||
if (auto main = App::main()) {
|
||||
if (main->onSendSticker(_pack.at(index))) {
|
||||
if (main->onSendSticker(_pack[index])) {
|
||||
Ui::hideSettingsAndLayer();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user