censor notifs

remotes/1693045480750635534/spooky-22
Aevann1 2022-08-11 13:27:52 +02:00
parent 6fba35a82f
commit b6e7151cce
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ if PUSHER_ID != 'blahblahblah':
beams_client = PushNotifications(instance_id=PUSHER_ID, secret_key=PUSHER_KEY)
def pusher_thread(interests, title, notifbody, url):
title = censor_slurs(title)
notifbody = censor_slurs(body)
beams_client.publish_to_interests(
interests=[interests],
publish_body={