@@ -422,7 +422,7 @@ def handle_unsubscribe(self, params):
 
         project_id = self.project_id
 
-        channel_to_unsubscribe = self.application.create_subscription_name(
+        channel_to_unsubscribe = create_subscription_name(
             project_id,
             namespace_name,
             channel
@@ -611,4 +611,4 @@ def send_leave_message(self, namespace_name, channel):
             subscription_name,
             json_encode(message),
             method='leave'
-        )
\ No newline at end of file
+        )