mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-27 07:52:09 +00:00
version 0.8.8.dev - audio listened status, photo caption display, map places name-address display, gray muted badges, invite links support, some fixes
This commit is contained in:
@@ -294,6 +294,7 @@ void VideoOpenLink::onClick(Qt::MouseButton button) const {
|
||||
QString already = data->already(true);
|
||||
if (!already.isEmpty()) {
|
||||
psOpenFile(already);
|
||||
if (App::main()) App::main()->videoMarkRead(data);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -381,9 +382,11 @@ void AudioOpenLink::onClick(Qt::MouseButton button) const {
|
||||
audioVoice()->pauseresume();
|
||||
} else {
|
||||
audioVoice()->play(data);
|
||||
if (App::main()) App::main()->audioMarkRead(data);
|
||||
}
|
||||
} else {
|
||||
psOpenFile(already);
|
||||
if (App::main()) App::main()->audioMarkRead(data);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user