We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11f5a64 commit 72b6f23Copy full SHA for 72b6f23
zulip/zulip/cli.py
@@ -4,7 +4,6 @@
4
from typing import Any, Dict, List
5
6
import click
7
-
8
import zulip
9
10
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
@@ -97,10 +96,10 @@ def send_message(
97
96
"to": recipients,
98
}
99
100
- # Backward compatibility: convert "direct" → "private" if server doesn’t support feature level 174+
+ # Backward compatibility: convert "direct" → "private" if server doesn't support feature level 174+
101
if message_data["type"] == "direct":
102
try:
103
- if client.server_feature_level() < 174:
+ if client.server_feature_level() < 174: # type: ignore[attr-defined]
104
log.info(
105
"Server does not support 'direct' message type; falling back to 'private'."
106
)
0 commit comments