X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fannounceidentitypage.cpp;h=83ce674673d05b17c8fcf6f0c8d404f2bd0d43f0;hb=b4f4686250878cdf4fcb2986a2ea6546cba867d1;hp=32a13cc0546970081125a06afa5a0a79b5650438;hpb=107bd97018964d48425306026d06afd038e84db0;p=fms.git diff --git a/src/http/pages/announceidentitypage.cpp b/src/http/pages/announceidentitypage.cpp index 32a13cc..83ce674 100644 --- a/src/http/pages/announceidentitypage.cpp +++ b/src/http/pages/announceidentitypage.cpp @@ -1,6 +1,7 @@ #include "../../../include/http/pages/announceidentitypage.h" #include "../../../include/stringfunctions.h" #include "../../../include/datetime.h" +#include "../../../include/global.h" #ifdef XMEM #include @@ -18,18 +19,12 @@ const std::string AnnounceIdentityPage::CreateLocalIdentityDropDown(const std::s std::string id; std::string name; std::string pubkey; - std::string keypart=""; st.ResultText(0,id); st.ResultText(1,name); st.ResultText(2,pubkey); - if(pubkey.size()>8) - { - keypart=pubkey.substr(3,5); - } - - rval+=""; + rval+=""; st.Step(); } rval+="";