Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Mar 13, 2024
1 parent 150bf5e commit ce43607
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions mautrix_telegram/portal.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
InputPeerUser,
InputStickerSetEmpty,
InputUser,
MessageActionBoostApply,
MessageActionChannelCreate,
MessageActionChatAddUser,
MessageActionChatCreate,
Expand Down Expand Up @@ -3651,6 +3652,18 @@ async def handle_telegram_action(
),
),
)
elif isinstance(action, MessageActionBoostApply):
await self._send_message(
sender.intent_for(self),
TextMessageEventContent(
msgtype=MessageType.EMOTE,
body=(
"boosted the group"
if action.boosts == 1
else f"boosted the group {action.boosts} times"
),
),
)
elif isinstance(action, MessageActionGameScore):
# TODO handle game score
pass
Expand Down
4 changes: 2 additions & 2 deletions optional-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ qrcode>=6,<8
phonenumbers>=8,<9

#/metrics
prometheus_client>=0.6,<0.20
prometheus_client>=0.6,<0.21

#/e2be
python-olm>=3,<4
pycryptodome>=3,<4
unpaddedbase64>=1,<3

#/sqlite
aiosqlite>=0.16,<0.20
aiosqlite>=0.16,<0.21

#/proxy
python-socks[asyncio]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ commonmark>=0.8,<0.10
aiohttp>=3,<4
yarl>=1,<2
mautrix>=0.20.4,<0.21
tulir-telethon==1.34.0a3
tulir-telethon==1.35.0a1
asyncpg>=0.20,<0.30
mako>=1,<2
setuptools

0 comments on commit ce43607

Please sign in to comment.