diff --git a/examples/simple_pyramid_chat/chatter2/views.py b/examples/simple_pyramid_chat/chatter2/views.py
index <HASH>..<HASH> 100644
--- a/examples/simple_pyramid_chat/chatter2/views.py
+++ b/examples/simple_pyramid_chat/chatter2/views.py
@@ -50,6 +50,10 @@ class ChatNamespace(BaseNamespace, NamedUsersRoomsMixin):
     def recv_disconnect(self):
         self.broadcast_event('user_disconnect')
         self.disconnect(silent=True)
+        
+    def on_join(self, channel):
+        self.join(channel)
+
 
 
 def socketio_service(request):
Update examples/simple_pyramid_chat/chatter2/views.py

Added an on_join function allow joining of rooms.