Skip to content

Commit 8d662a2

Browse files
committed
Remove other search categories when searching by peer
1 parent 1274f38 commit 8d662a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/appSearchSuper..ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@ export default class AppSearchSuper {
12821282
}
12831283

12841284
const query = this.searchContext.query;
1285-
if(query) {
1285+
if(query && !this.searchContext.peerId) {
12861286
const addDialogSubtitle = async(dom: DialogDom, peerId: PeerId) => {
12871287
const peer = await this.managers.appPeersManager.getPeer(peerId);
12881288
if(peerId === rootScope.myId) {

0 commit comments

Comments
 (0)