mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Refactor NotifySettings in PeerData.
This commit is contained in:
@@ -259,9 +259,6 @@ EmptyUserpic::~EmptyUserpic() = default;
|
||||
|
||||
using UpdateFlag = Notify::PeerUpdate::Flag;
|
||||
|
||||
NotifySettings globalNotifyAll, globalNotifyUsers, globalNotifyChats;
|
||||
NotifySettingsPtr globalNotifyAllPtr = UnknownNotifySettings, globalNotifyUsersPtr = UnknownNotifySettings, globalNotifyChatsPtr = UnknownNotifySettings;
|
||||
|
||||
PeerClickHandler::PeerClickHandler(not_null<PeerData*> peer)
|
||||
: _peer(peer) {
|
||||
}
|
||||
@@ -291,6 +288,8 @@ PeerData::PeerData(const PeerId &id)
|
||||
_userpicEmpty.set(id, QString());
|
||||
}
|
||||
|
||||
PeerData::~PeerData() = default;
|
||||
|
||||
void PeerData::updateNameDelayed(
|
||||
const QString &newName,
|
||||
const QString &newNameOrPhone,
|
||||
|
Reference in New Issue
Block a user