Username can be edited by double clicking on text, added global user profile menu action in user info widget

This commit is contained in:
Jedi18 2021-01-28 20:03:50 +05:30
parent 5e3f513655
commit 87490c29cd
7 changed files with 84 additions and 68 deletions

View file

@ -125,6 +125,10 @@ UserInfoWidget::UserInfoWidget(QWidget *parent)
ChatPage::instance()->setStatus(text);
});
auto userProfileAction = menu->addAction(tr("User Profile Settings"));
connect(
userProfileAction, &QAction::triggered, this, [this]() { emit openGlobalUserProfile(); });
#if 0 // disable presence menu until issues in synapse are resolved
auto setAutoPresence = menu->addAction(tr("Set presence automatically"));
connect(setAutoPresence, &QAction::triggered, this, []() {