mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Add simple forwarding options on bar click.
This commit is contained in:
@@ -21,6 +21,7 @@ class GenericBox;
|
||||
namespace Data {
|
||||
class Folder;
|
||||
class Session;
|
||||
struct ForwardDraft;
|
||||
} // namespace Data
|
||||
|
||||
namespace Dialogs {
|
||||
@@ -94,6 +95,10 @@ void ToggleHistoryArchived(not_null<History*> history, bool archived);
|
||||
Fn<void()> ClearHistoryHandler(not_null<PeerData*> peer);
|
||||
Fn<void()> DeleteAndLeaveHandler(not_null<PeerData*> peer);
|
||||
|
||||
QPointer<Ui::RpWidget> ShowForwardMessagesBox(
|
||||
not_null<Window::SessionNavigation*> navigation,
|
||||
Data::ForwardDraft &&draft,
|
||||
FnMut<void()> &&successCallback = nullptr);
|
||||
QPointer<Ui::RpWidget> ShowForwardMessagesBox(
|
||||
not_null<Window::SessionNavigation*> navigation,
|
||||
MessageIdsList &&items,
|
||||
|
Reference in New Issue
Block a user