|
@ -360,8 +360,7 @@ void Main::refreshWhisper() |
|
|
|
|
|
|
|
|
void Main::addNewId(QString _ids) |
|
|
void Main::addNewId(QString _ids) |
|
|
{ |
|
|
{ |
|
|
Secret const& id = jsToSecret(_ids.toStdString()); |
|
|
KeyPair kp(jsToSecret(_ids.toStdString())); |
|
|
KeyPair kp(id); |
|
|
|
|
|
m_myIdentities.push_back(kp); |
|
|
m_myIdentities.push_back(kp); |
|
|
m_server->setIdentities(keysAsVector(owned())); |
|
|
m_server->setIdentities(keysAsVector(owned())); |
|
|
refreshWhisper(); |
|
|
refreshWhisper(); |
|
|