 		}
 		messageQueue.append((message, completion))
 		if messageQueue.count == 1 {
-			queue.async {
+			client.queue.async {
 				self.messageQueueHandler()
 			}
 		}

	public init(client: Client, roomID: Int) {
		self.client = client
		self.roomID = roomID
		self.queue = DispatchQueue(label: "Room \(roomID) Queue")
		
		defaultUserDBFilename = "users_\(roomID)_\(client.host.rawValue).json"
	}
	

				//look up the user instead of getting their name to make sure they're in the DB
				let user = userWithID(userID)
				
				print("\(roomID): \(user): \(content)")
				
				let message = ChatMessage(room: self, user: user, content: content, id: messageID, replyID: replyID)
				messageHandler(message, type == .messageEdited)
