Allow embedding of 'hidden' message by protocol in account settings

This commit is contained in:
Jaidyn Ann 2021-06-26 20:39:05 -05:00
parent 6507a4182f
commit 543986f281

View File

@ -309,5 +309,9 @@ ProtocolTemplate::Save(BView* parent, BMessage* settings, BString* errorText)
settings->AddString(name, textView->Text());
}
BMessage hidden;
if (fTemplate->FindMessage("hidden", &hidden) == B_OK)
settings->AddMessage("hidden", &hidden);
return B_OK;
}