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 72b6f23 commit 7e5b243Copy full SHA for 7e5b243
zulip/zulip/cli.py
@@ -96,10 +96,10 @@ def send_message(
96
"to": recipients,
97
}
98
99
- # 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+
100
if message_data["type"] == "direct":
101
try:
102
- if client.server_feature_level() < 174: # type: ignore[attr-defined]
+ if client.server_feature_level() < 174:
103
log.info(
104
"Server does not support 'direct' message type; falling back to 'private'."
105
)
@@ -199,4 +199,4 @@ def get_subscriptions() -> None:
199
200
201
if __name__ == "__main__":
202
- cli()
+ cli()
0 commit comments