diff options
author | Camila <hello@camila.codes> | 2022-09-29 16:14:01 +0300 |
---|---|---|
committer | Camila <hello@camila.codes> | 2022-09-29 16:20:56 +0300 |
commit | 7633cc490df3b7984c2c56d113b28abe6c508138 (patch) | |
tree | 1f351424ab0b40c78ede292b6cd3ff4e02e92b57 /test | |
parent | cbe22d8c1ebee69c3414deae485ff4707e037054 (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.cpp | 2 |
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; |