forked from rDrama/rDrama
1
0
Fork 0

add push notifs for blackjack

master
Aevann 2023-02-24 04:11:16 +02:00
parent 760b2e6a4d
commit 655159fbf3
1 changed files with 4 additions and 1 deletions

View File

@ -228,7 +228,10 @@ def execute_blackjack(v, target, body, type):
for id in notified_ids:
n = Notification(comment_id=target.id, user_id=id)
g.db.add(n)
g.db.flush()
g.db.flush()
push_notif(notified_ids, 'Blackjack!', target.body, (target.id,bool(target.wall_user_id)))
extra_info = None
if extra_info: