Set IRC/Purple passwords as 'secret' fields
This commit is contained in:
parent
2dc364ef55
commit
b5b24939ea
|
@ -19,6 +19,7 @@ resource(1000, "account") message('IMst')
|
|||
{
|
||||
"name" = "password",
|
||||
"description" = "Password:",
|
||||
bool "is_secret" = true,
|
||||
int32 "type" = 'CSTR'
|
||||
},
|
||||
"setting" = message
|
||||
|
|
|
@ -388,6 +388,7 @@ PurpleApp::_ParseProtoOptions(PurplePluginProtocolInfo* info)
|
|||
passwd.AddString("name", "password");
|
||||
passwd.AddString("description", "Password");
|
||||
passwd.AddInt32("type", B_STRING_TYPE);
|
||||
passwd.AddBool("is_secret", true);
|
||||
temp.AddMessage("setting", &passwd);
|
||||
|
||||
// Whatever custom settings the protocol might like!
|
||||
|
|
Ŝarĝante…
Reference in New Issue