mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
Fix legacy group service message in chats list.
This commit is contained in:
@@ -818,8 +818,9 @@ void HistoryService::updateDependentText() {
|
|||||||
|
|
||||||
setServiceText(text);
|
setServiceText(text);
|
||||||
history()->owner().requestItemResize(this);
|
history()->owner().requestItemResize(this);
|
||||||
if (history()->textCachedFor == this) {
|
const auto inDialogsHistory = history()->migrateToOrMe();
|
||||||
history()->textCachedFor = nullptr;
|
if (inDialogsHistory->textCachedFor == this) {
|
||||||
|
inDialogsHistory->textCachedFor = nullptr;
|
||||||
}
|
}
|
||||||
//if (const auto feed = history()->peer->feed()) { // #TODO archive
|
//if (const auto feed = history()->peer->feed()) { // #TODO archive
|
||||||
// if (feed->textCachedFor == this) {
|
// if (feed->textCachedFor == this) {
|
||||||
|
@@ -579,8 +579,6 @@ void MainWindow::psTrayMenuUpdated() {
|
|||||||
|
|
||||||
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
#ifndef DESKTOP_APP_DISABLE_DBUS_INTEGRATION
|
||||||
void MainWindow::setSNITrayIcon(int counter, bool muted) {
|
void MainWindow::setSNITrayIcon(int counter, bool muted) {
|
||||||
const auto iconName = GetTrayIconName(counter, muted);
|
|
||||||
|
|
||||||
if (IsIndicatorApplication()) {
|
if (IsIndicatorApplication()) {
|
||||||
if (!IsIconRegenerationNeeded(counter, muted)
|
if (!IsIconRegenerationNeeded(counter, muted)
|
||||||
&& _trayIconFile
|
&& _trayIconFile
|
||||||
|
Reference in New Issue
Block a user