@Override
	public void addMessageToDB() {
		try {
			String statement = new String("INSERT INTO " + DBTable +
					" (uid1, uid2, time, isConfirmed, isRejected) VALUES (?, ?, NOW(), ?, ?)");
			PreparedStatement stmt = DBConnection.con.prepareStatement(statement);
			stmt.setInt(1, fromUser);
			stmt.setInt(2, toUser);
			stmt.setBoolean(3, isConfirmed);
			stmt.setBoolean(4, isRejected);
			DBConnection.DBUpdate(stmt);
		} catch (SQLException e1) {
			e1.printStackTrace();
		}
	}