Skip to content

Commit

Permalink
fix(lockings): typo on permission key
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMissx committed Jan 1, 2024
1 parent 81cd38b commit 0a1a6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anjani/plugins/lockings.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def get_restrictions(self, mode: str) -> MutableMapping[str, MutableMapping[str,
"can_send_roundvideos": permission,
"can_send_stickers": permission,
"can_send_videos": permission,
"can_send_voice": permission,
"can_send_voices": permission,
},
"messages": {"can_send_messages": permission},
"media": {"can_send_media_messages": permission},
Expand All @@ -265,7 +265,7 @@ def get_restrictions(self, mode: str) -> MutableMapping[str, MutableMapping[str,
"videonote": {"can_send_roundvideos": permission},
"stickers": {"can_send_stickers": permission},
"videos": {"can_send_videos": permission},
"voices": {"can_send_voice": permission},
"voices": {"can_send_voices": permission},
}.items()
)
)
Expand Down

0 comments on commit 0a1a6f9

Please sign in to comment.