Remove unused MeshChat
This commit is contained in:
		
							parent
							
								
									8ab45f697d
								
							
						
					
					
						commit
						4f3e3a290c
					
				@ -10,7 +10,6 @@ sugar_PYTHON =		\
 | 
				
			|||||||
	ChatToolbar.py	\
 | 
						ChatToolbar.py	\
 | 
				
			||||||
	Emoticons.py	\
 | 
						Emoticons.py	\
 | 
				
			||||||
	GroupChat.py	\
 | 
						GroupChat.py	\
 | 
				
			||||||
	MeshChat.py	\
 | 
					 | 
				
			||||||
	richtext.py
 | 
						richtext.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXTRA_DIST = \
 | 
					EXTRA_DIST = \
 | 
				
			||||||
 | 
				
			|||||||
@ -1,15 +0,0 @@
 | 
				
			|||||||
from sugar.chat.GroupChat import GroupChat
 | 
					 | 
				
			||||||
from sugar.presence.Service import Service
 | 
					 | 
				
			||||||
import sugar.env
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class MeshChat(GroupChat):
 | 
					 | 
				
			||||||
	SERVICE_TYPE = "_olpc_mesh_chat._udp"
 | 
					 | 
				
			||||||
	SERVICE_ADDRESS = "232.5.5.5"
 | 
					 | 
				
			||||||
	SERVICE_PORT = 6301
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	def __init__(self):
 | 
					 | 
				
			||||||
		GroupChat.__init__(self)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		service = Service(sugar.env.get_nick_name(), MeshChat.SERVICE_TYPE,
 | 
					 | 
				
			||||||
						  'local', MeshChat.SERVICE_ADDRESS, MeshChat.SERVICE_PORT)
 | 
					 | 
				
			||||||
		self._setup_stream(service)
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user