Exemplo n.º 1
0
 def __init__(self, account, muc):
     CampfireClient.__init__(self, account)
     self.rooms = {}
     self.username = None
     self.muc = muc
     # name of campfire user
     self.campfire_name = None
Exemplo n.º 2
0
 def __init__(self, account, token, roomname, room_id, muc, campfire_name):
     CampfireClient.__init__(self, account)
     self.roomname = roomname
     self.room_id = room_id
     self.token = token
     self.participants = ParticipantList()
     self.topic = ""
     self.msgs = MessageList()
     self.muc = muc
     # name of campfire user
     self.campfire_name = campfire_name
     # the jid of the user who has connected
     self.source_jid = None
     # the jid of the use in the room
     self.participant_jid = None
Exemplo n.º 3
0
 def __init__(self, account, token, roomname, room_id, muc, campfire_name):
     CampfireClient.__init__(self, account)
     self.roomname = roomname
     self.room_id = room_id
     self.token = token
     self.participants = ParticipantList()
     self.topic = ""
     self.msgs = MessageList()
     self.muc = muc
     # name of campfire user
     self.campfire_name = campfire_name
     # the jid of the user who has connected
     self.source_jid = None
     # the jid of the use in the room
     self.participant_jid = None