Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCamila <hello@camila.codes>2022-09-29 16:14:01 +0300
committerCamila <hello@camila.codes>2022-09-29 16:20:56 +0300
commit7633cc490df3b7984c2c56d113b28abe6c508138 (patch)
tree1f351424ab0b40c78ede292b6cd3ff4e02e92b57 /test
parentcbe22d8c1ebee69c3414deae485ff4707e037054 (diff)
Fix 'Reply' action primary property.
Primary is set to true when object type is 'room' or 'chat' and it set to false when object type is 'call'. Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'test')
-rw-r--r--test/testactivitylistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testactivitylistmodel.cpp b/test/testactivitylistmodel.cpp
index 16c1267f5..25efb6561 100644
--- a/test/testactivitylistmodel.cpp
+++ b/test/testactivitylistmodel.cpp
@@ -143,7 +143,7 @@ public:
replyAction.insert(QStringLiteral("label"), QStringLiteral("Reply"));
replyAction.insert(QStringLiteral("link"), QStringLiteral(""));
replyAction.insert(QStringLiteral("type"), QStringLiteral("REPLY"));
- replyAction.insert(QStringLiteral("primary"), true);
+ replyAction.insert(QStringLiteral("primary"), false);
actionsArray.push_back(replyAction);
QJsonObject primaryAction;