mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 03:43:19 +00:00
Update controllers.py
updated can_send_messages to fix message send feature
This commit is contained in:
parent
2b0c0cf199
commit
13e2b26698
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ class Controller:
|
|||
|
||||
def can_send_msg(self) -> bool:
|
||||
chat = self.model.chats.chats[self.model.current_chat]
|
||||
return chat["permissions"]["can_send_messages"]
|
||||
return chat["permissions"]["can_send_basic_messages"]
|
||||
|
||||
def _open_msg(self, msg: MsgProxy, cmd: str = None) -> None:
|
||||
if msg.is_text:
|
||||
|
|
Loading…
Reference in a new issue