mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Added support of non-self users to UsernamesBox.
This commit is contained in:
@@ -209,7 +209,7 @@ void Cover::initViewers() {
|
||||
_username->overrideLinkClickHandler([=] {
|
||||
const auto username = _user->userName();
|
||||
if (username.isEmpty()) {
|
||||
_controller->show(Box(UsernamesBox, &_user->session()));
|
||||
_controller->show(Box(UsernamesBox, _user));
|
||||
} else {
|
||||
QGuiApplication::clipboard()->setText(
|
||||
_user->session().createInternalLinkFull(username));
|
||||
|
Reference in New Issue
Block a user