mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Remove some more Auth() calls.
This commit is contained in:
@@ -73,9 +73,9 @@ private:
|
||||
class MentionNameClickHandler : public ClickHandler {
|
||||
public:
|
||||
MentionNameClickHandler(QString text, UserId userId, uint64 accessHash)
|
||||
: _text(text)
|
||||
, _userId(userId)
|
||||
, _accessHash(accessHash) {
|
||||
: _text(text)
|
||||
, _userId(userId)
|
||||
, _accessHash(accessHash) {
|
||||
}
|
||||
|
||||
void onClick(ClickContext context) const override;
|
||||
|
@@ -1579,7 +1579,7 @@ void UpdateApplication() {
|
||||
if (const auto controller = window->sessionController()) {
|
||||
controller->showSection(
|
||||
Info::Memento(
|
||||
Info::Settings::Tag{ Auth().user() },
|
||||
Info::Settings::Tag{ controller->session().user() },
|
||||
Info::Section::SettingsType::Advanced),
|
||||
Window::SectionShow());
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user