Example #1
0
static void ops_create_instag(void *opdata, const char *accountname,
		const char *protocol)
{
	otrl_instag_generate(user_state_global->otr_state, "/dev/null",
			accountname, protocol);
	key_write_instags(user_state_global);
}
Example #2
0
void OtrInstanceTagService::createInstanceTag(const Account &account)
{
	if (!UserStateService)
		return;

	QString fileName = PathService->instanceTagsStoreFilePath();
	otrl_instag_generate(UserStateService.data()->userState(), fileName.toUtf8().data(),
						 account.id().toUtf8().data(), account.protocolName().toUtf8().data());
	writeInstanceTags();
}
void OtrInternal::create_instag(const char* accountname, const char* protocol)
{
    otrl_instag_generate(m_userstate, QFile::encodeName(m_instagsFile).constData(),
                         accountname, protocol);
}
Example #4
0
static void ops_create_instag (void *opdata, const char *accountname, const char *protocol)
{
	otrl_instag_generate(otr_state, "/dev/null",
			     		accountname, protocol);
	otr_writeinstags();
}