mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-20 14:04:19 -05:00
7e2c89a37f
* Make badges work again * Remove old, unused code
11 lines
221 B
Python
11 lines
221 B
Python
from httppusher import HttpPusher
|
|
|
|
PUSHER_TYPES = {
|
|
'http': HttpPusher
|
|
}
|
|
|
|
|
|
def create_pusher(hs, pusherdict):
|
|
if pusherdict['kind'] in PUSHER_TYPES:
|
|
return PUSHER_TYPES[pusherdict['kind']](hs, pusherdict)
|