Changeset - 6cffbaebf81b
[Not reviewed]
0 2 0
Jan Kaluza - 14 years ago 2011-09-27 15:14:51
hanzz.k@gmail.com
Handle 'Xfire Invitation Message' input request
2 files changed with 13 insertions and 2 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -116,6 +116,17 @@ static void * requestInput(const char *title, const char *primary,const char *se
 
			LOG4CXX_WARN(logger, "Unhandled request input. primary=" << primaryString);
 
		}
 
	}
 
	else if (title) {
 
		std::string titleString(title);
 
		if (titleString == "Xfire Invitation Message") {
 
			LOG4CXX_INFO(logger, "Authorization Request Message: calling ok_cb(...)");
 
			((PurpleRequestInputCb) ok_cb)(user_data, "Please authorize me.");
 
			return NULL;
 
		}
 
		else {
 
			LOG4CXX_WARN(logger, "Unhandled request input. title=" << titleString);
 
		}
 
	}
 
	else {
 
		LOG4CXX_WARN(logger, "Request input without primary string");
 
	}
spectrum/src/CMakeLists.txt
Show inline comments
 
@@ -3,8 +3,8 @@ FILE(GLOB SRC *.cpp)
 
 
ADD_EXECUTABLE(spectrum2 ${SRC})
 
 
ADD_DEPENDENCIES(spectrum2 spectrum_libpurple_backend)
 
ADD_DEPENDENCIES(spectrum2 spectrum_libircclient-qt_backend)
 
ADD_DEPENDENCIES(spectrum2 spectrum2_libpurple_backend)
 
ADD_DEPENDENCIES(spectrum2 spectrum2_libircclient-qt_backend)
 
 
target_link_libraries(spectrum2 transport)
 
0 comments (0 inline, 0 general)