Checking and repairing deliver_message and sharing spotify auth
This commit is contained in:
@ -154,7 +154,7 @@ class IrisCore(object):
|
||||
'message': error
|
||||
}
|
||||
|
||||
def deliver_message(self, data):
|
||||
def deliver_message(self, data):
|
||||
to = data['to']
|
||||
if to in self.connections:
|
||||
|
||||
|
||||
@ -58,11 +58,13 @@ export function deliverBroadcast( data = null ){
|
||||
export function sendAuthorization( recipient_connectionid, authorization, me ){
|
||||
return {
|
||||
type: 'PUSHER_DELIVER_MESSAGE',
|
||||
to: recipient_connectionid,
|
||||
message: {
|
||||
type: 'spotify_authorization',
|
||||
authorization: authorization,
|
||||
me: me
|
||||
data: {
|
||||
to: recipient_connectionid,
|
||||
message: {
|
||||
type: 'spotify_authorization',
|
||||
authorization: authorization,
|
||||
me: me
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user