mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -04:00
made RS not to ask for plugin confirmation on first load
This commit is contained in:
parent
345f24eb5f
commit
e8415c4f03
9 changed files with 19 additions and 12 deletions
|
@ -84,7 +84,7 @@ void NotifyTxt::notifyChat()
|
|||
return;
|
||||
}
|
||||
|
||||
bool NotifyTxt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash)
|
||||
bool NotifyTxt::askForPluginConfirmation(const std::string& plugin_file_name, const std::string& plugin_file_hash, bool /* first_time */)
|
||||
{
|
||||
std::cerr << "The following plugin is not registered as accepted or denied. You probably upgraded the main executable or the plugin itself." << std::endl;
|
||||
std::cerr << " Hash: " << plugin_file_hash << std::endl;
|
||||
|
|
|
@ -42,7 +42,7 @@ class NotifyTxt: public NotifyClient
|
|||
virtual void notifyErrorMsg(int list, int sev, std::string msg);
|
||||
virtual void notifyChat();
|
||||
virtual bool askForPassword(const std::string& title, const std::string& question, bool prev_is_bad, std::string& password,bool& cancel);
|
||||
virtual bool askForPluginConfirmation(const std::string& plugin_file, const std::string& plugin_hash);
|
||||
virtual bool askForPluginConfirmation(const std::string& plugin_file, const std::string& plugin_hash,bool first_time);
|
||||
|
||||
virtual void notifyTurtleSearchResult(uint32_t search_id,const std::list<TurtleFileInfo>& found_files);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue