mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
fix repl forward command
This commit is contained in:
committed by
holger krekel
parent
ad87b7c4a5
commit
4c0d00640b
@@ -879,7 +879,7 @@ pub fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::Error> {
|
|||||||
}
|
}
|
||||||
"forward" => {
|
"forward" => {
|
||||||
ensure!(
|
ensure!(
|
||||||
!arg1.is_empty() && arg2.is_empty(),
|
!arg1.is_empty() && !arg2.is_empty(),
|
||||||
"Arguments <msg-id> <chat-id> expected"
|
"Arguments <msg-id> <chat-id> expected"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user