mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Implement drag-n-drop to forum topics.
This commit is contained in:
@@ -1292,7 +1292,7 @@ void FastShareMessage(
|
||||
}
|
||||
|
||||
const auto error = [&] {
|
||||
for (const auto peer : result) { // #TODO forum forward
|
||||
for (const auto peer : result) { // #TODO forum share
|
||||
const auto error = GetErrorTextForSending(
|
||||
peer,
|
||||
{ .forward = &items, .text = &comment });
|
||||
@@ -1398,7 +1398,7 @@ void FastShareMessage(
|
||||
}
|
||||
};
|
||||
auto filterCallback = [isGame](PeerData *peer) {
|
||||
if (peer->canWrite()) { // #TODO forum forward
|
||||
if (peer->canWrite()) { // #TODO forum share
|
||||
if (auto channel = peer->asChannel()) {
|
||||
return isGame ? (!channel->isBroadcast()) : true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user