зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #6034 from nextcloud/bugfix/macos-talk-replies
Fix macOS notification talk replies by avoiding early dealloc
This commit is contained in:
Коммит
b3f9ff289e
|
@ -58,8 +58,8 @@ void sendTalkReply(UNNotificationResponse *response, UNNotificationContent* cont
|
|||
<< "Token:" << qToken
|
||||
<< "Account:" << qAccount;
|
||||
|
||||
const auto talkReply = QSharedPointer<OCC::TalkReply>::create(
|
||||
accountState.data(), OCC::Systray::instance());
|
||||
// OCC::TalkReply deletes itself once it's done, fire and forget
|
||||
const auto talkReply = new OCC::TalkReply(accountState.data(), OCC::Systray::instance());
|
||||
talkReply->sendReplyMessage(qToken, qReply, qReplyTo);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче