X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fmessage.cpp;h=897ceedbcede5ba22c762f6daa83c783ee24c86b;hp=526dbd2fc4ad1cd048dddf84bc3009bbeca37780;hb=047cea32f848d605c549ec123c12c1c400dd7ec1;hpb=dec33c63afafabf83c3039e916725cac6faef9b3 diff --git a/src/message.cpp b/src/message.cpp index 526dbd2..897ceed 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -250,7 +250,9 @@ void Message::HandleAdministrationMessage() insert.Bind(0,Poco::DateTimeFormatter::format(now,"%Y-%m-%d")); insert.Bind(1,Poco::DateTimeFormatter::format(now,"%H:%M:%S")); insert.Bind(2,identityname+" Trust Changed"); - insert.Bind(3,uuid.toString()); + std::string uuidstr=uuid.toString(); + StringFunctions::UpperCase(uuidstr,uuidstr); + insert.Bind(3,uuidstr); insert.Bind(4,boardid); insert.Bind(5,messagebody); insert.Step(true); @@ -557,6 +559,8 @@ const bool Message::ParseNNTPMessage(const std::string &nntpmessage) try { uuid=uuidgen.createRandom(); + m_messageuuid=uuid.toString(); + StringFunctions::UpperCase(m_messageuuid,m_messageuuid); } catch(...) {