X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fmessage.h;h=5aed3edee91553a070ec780d0107ef88bdc49f8e;hb=e773b0ecb8a35c67cde5b2e82bbebb05224f34d0;hp=303322986f9703de9f58673666dbde13cab7e6eb;hpb=3dc3ac3cfe10b7196a7977e9c041c29fa141c35e;p=fms.git diff --git a/include/message.h b/include/message.h index 3033229..5aed3ed 100644 --- a/include/message.h +++ b/include/message.h @@ -22,6 +22,8 @@ public: std::vector GetBoards() const { return m_boards; } std::map GetInReplyTo() const { return m_inreplyto; } + void SetFromName(const std::string &fromname) { m_fromname=fromname; } + const std::string GetNNTPHeaders() const; const std::string GetNNTPArticleID() const; const std::string GetNNTPBody() const; @@ -55,6 +57,7 @@ private: const bool CheckForAdministrationBoard(const std::vector &boards); void HandleChangeTrust(); void StripAdministrationBoards(); // removes administration boards from boards vector + const int FindLocalIdentityID(const std::string &name); long m_messageid; bool m_addnewpostfromidentities;