mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Removed display views and author for sent scheduled messages.
Moved filling of post flags to a single place.
This commit is contained in:
@@ -695,7 +695,7 @@ void HistoryMessage::createComponentsHelper(
|
||||
if (flags & MTPDmessage::Flag::f_reply_to_msg_id) config.replyTo = replyTo;
|
||||
if (flags & MTPDmessage::Flag::f_reply_markup) config.mtpMarkup = &markup;
|
||||
if (flags & MTPDmessage::Flag::f_post_author) config.author = postAuthor;
|
||||
if (isPost()) config.viewsCount = 1;
|
||||
if (flags & MTPDmessage::Flag::f_views) config.viewsCount = 1;
|
||||
|
||||
createComponents(config);
|
||||
}
|
||||
|
Reference in New Issue
Block a user