mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-04 04:14:24 -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
|
@ -283,10 +283,10 @@ bool p3Notify::askForPassword (const std::string& title , c
|
|||
|
||||
return false ;
|
||||
}
|
||||
bool p3Notify::askForPluginConfirmation (const std::string& plugin_filename, const std::string& plugin_file_hash)
|
||||
bool p3Notify::askForPluginConfirmation (const std::string& plugin_filename, const std::string& plugin_file_hash,bool first_time)
|
||||
{
|
||||
FOR_ALL_NOTIFY_CLIENTS
|
||||
if( (*it)->askForPluginConfirmation(plugin_filename,plugin_file_hash))
|
||||
if( (*it)->askForPluginConfirmation(plugin_filename,plugin_file_hash,first_time))
|
||||
return true ;
|
||||
|
||||
return false ;
|
||||
|
|
|
@ -123,7 +123,7 @@ class p3Notify: public RsNotify
|
|||
void notifyHistoryChanged (uint32_t /* msgId */, int /* type */) ;
|
||||
|
||||
bool askForPassword (const std::string& title, const std::string& /* key_details */, bool /* prev_is_bad */, std::string&, bool *cancelled /* password */ ) ;
|
||||
bool askForPluginConfirmation (const std::string& /* plugin_filename */, const std::string& /* plugin_file_hash */) ;
|
||||
bool askForPluginConfirmation (const std::string& /* plugin_filename */, const std::string& /* plugin_file_hash */,bool first_time) ;
|
||||
|
||||
virtual bool cachePgpPassphrase (const std::string& /* pgp_passphrase */) ;
|
||||
virtual bool clearPgpPassphrase () ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue