mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
Fix legacy group service message in chats list.
This commit is contained in:
parent
639e6d8e28
commit
a086afb152
2 changed files with 3 additions and 4 deletions
|
@ -818,8 +818,9 @@ void HistoryService::updateDependentText() {
|
|||
|
||||
setServiceText(text);
|
||||
history()->owner().requestItemResize(this);
|
||||
if (history()->textCachedFor == this) {
|
||||
history()->textCachedFor = nullptr;
|
||||
const auto inDialogsHistory = history()->migrateToOrMe();
|
||||
if (inDialogsHistory->textCachedFor == this) {
|
||||
inDialogsHistory->textCachedFor = nullptr;
|
||||
}
|
||||
//if (const auto feed = history()->peer->feed()) { // #TODO archive
|
||||
// if (feed->textCachedFor == this) {
|
||||
|
|
|
@ -579,8 +579,6 @@ void MainWindow::psTrayMenuUpdated() {
|
|||
|
||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||
void MainWindow::setSNITrayIcon(int counter, bool muted) {
|
||||
const auto iconName = GetTrayIconName(counter, muted);
|
||||
|
||||
if (IsIndicatorApplication()) {
|
||||
if (!IsIconRegenerationNeeded(counter, muted)
|
||||
&& _trayIconFile
|
||||
|
|
Loading…
Add table
Reference in a new issue