Skip to content
Snippets Groups Projects
Commit e3843aba authored by Alexandre Lision's avatar Alexandre Lision
Browse files

upnp: enable upnp manually for new Ring account

Refs #71590

Change-Id: Ifc33a7d1fe107f5f26def0d52b386f65f6948b8e
parent 4ba18028
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,7 @@
NSString* newAccName = @"My Ring";
Account* newAcc = AccountModel::instance()->add([newAccName UTF8String], Account::Protocol::RING);
newAcc->setAlias([[nickname stringValue] UTF8String]);
newAcc->setUpnpEnabled(YES); // Always active upnp
newAcc << Account::EditAction::SAVE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment