allow to search all messages of a sender

closes #8.
This commit is contained in:
lilydjwg 2023-10-13 14:29:23 +08:00
parent d29f0fc31c
commit 768e4b0bc2

View File

@ -114,7 +114,7 @@
error = "请选择要搜索的群组"; error = "请选择要搜索的群组";
return; return;
} }
if (!query && !islocal) { if (!query && !islocal && !sender) {
error = "请输入搜索关键字"; error = "请输入搜索关键字";
return; return;
} }