All all messages through to peers irrespective of type

This commit is contained in:
jam 2013-01-10 14:07:25 -06:00
parent d157a58db7
commit 3344ffa186
1 changed files with 1 additions and 0 deletions

View File

@ -541,6 +541,7 @@ module JamWebsockets
# client = the current client
def access_p2p(client_id, user, msg)
return nil
# ping_request and ping_ack messages are special in that they are simply allowed
if msg.type == ClientMessage::Type::PING_REQUEST || msg.type == ClientMessage::Type::PING_ACK
return nil