Commit e3843aba authored by Alexandre Lision's avatar Alexandre Lision

upnp: enable upnp manually for new Ring account

Refs #71590

Change-Id: Ifc33a7d1fe107f5f26def0d52b386f65f6948b8e
parent 4ba18028
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment