mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 13:56:30 +03:00
api(jsonrpc): restore protect argument for create_group_chat
It was removed in 498a831873
Restoring as optional argument to avoid breaking compatibility.
This commit is contained in:
@@ -318,7 +318,7 @@ class Account:
|
||||
(see `get_full_snapshot()` / `get_basic_snapshot()`).
|
||||
This may be useful if you want to show some help for just created groups.
|
||||
"""
|
||||
return Chat(self, self._rpc.create_group_chat(self.id, name))
|
||||
return Chat(self, self._rpc.create_group_chat(self.id, name, False))
|
||||
|
||||
def create_broadcast(self, name: str) -> Chat:
|
||||
"""Create a new **broadcast channel**
|
||||
|
||||
Reference in New Issue
Block a user