mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
channel messages in center, audio documents not indexed in documents, some bugs fixed
This commit is contained in:
@@ -868,7 +868,11 @@ id(id), type(type), url(url), displayUrl(displayUrl), siteName(siteName), title(
|
||||
|
||||
void PeerLink::onClick(Qt::MouseButton button) const {
|
||||
if (button == Qt::LeftButton && App::main()) {
|
||||
App::main()->showPeerProfile(peer());
|
||||
if (peer() && peer()->isChannel() && App::main()->historyPeer() != peer()) {
|
||||
App::main()->showPeerHistory(peer()->id, ShowAtUnreadMsgId);
|
||||
} else {
|
||||
App::main()->showPeerProfile(peer());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user