Make MessageOrigin fields private.
This commit is contained in:
parent
94f72a026c
commit
367b2af164
@ -24,13 +24,14 @@ class Dependencies;
|
|||||||
|
|
||||||
class Td;
|
class Td;
|
||||||
|
|
||||||
struct MessageOrigin {
|
class MessageOrigin {
|
||||||
UserId sender_user_id_;
|
UserId sender_user_id_;
|
||||||
DialogId sender_dialog_id_;
|
DialogId sender_dialog_id_;
|
||||||
MessageId message_id_;
|
MessageId message_id_;
|
||||||
string author_signature_;
|
string author_signature_;
|
||||||
string sender_name_;
|
string sender_name_;
|
||||||
|
|
||||||
|
public:
|
||||||
MessageOrigin() = default;
|
MessageOrigin() = default;
|
||||||
|
|
||||||
MessageOrigin(UserId sender_user_id, DialogId sender_dialog_id, MessageId message_id, string &&author_signature,
|
MessageOrigin(UserId sender_user_id, DialogId sender_dialog_id, MessageId message_id, string &&author_signature,
|
||||||
|
Loading…
Reference in New Issue
Block a user