##// END OF EJS Templates
associate messages with no parent to all qt frontends...
MinRK -
Show More
@@ -106,4 +106,9 b' class BaseFrontendMixin(object):'
106 106 from this frontend.
107 107 """
108 108 session = self._kernel_manager.session.session
109 return msg['parent_header']['session'] == session
109 parent = msg['parent_header']
110 if not parent:
111 # if the message has no parent, assume it is meant for all frontends
112 return True
113 else:
114 return parent.get('session') == session
General Comments 0
You need to be logged in to leave comments. Login now