summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2020-04-09 16:39:32 +0200
committerRaquel Medina <raquel.medina@konsulko.com>2020-04-09 18:26:04 +0200
commite57b4f75b55c2befad4f9944f43c8aa2310321b7 (patch)
tree4fe80cd71e3ecbc5344bf15e06336073cc99fb33 /message.h
parent0ed292d3ccf93c889734960676a321d1166d3f66 (diff)
add missing overrides in ResponseMessage
The original message hierarchy rework patch is missing functionality which results in received replies being discarded. Basically, ResponseMessage class is missing the override required to match replies to the original calls. Bug-AGL: SPEC-3112 Fixes: 0ed292d3ccf9 (rework Message hierarchy) Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I39030ef212b2175a590deca02f9f9ff41bf7abf4
Diffstat (limited to 'message.h')
-rw-r--r--message.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/message.h b/message.h
index 0b5ad64..38936f3 100644
--- a/message.h
+++ b/message.h
@@ -37,7 +37,10 @@ class Message
{
public:
Message();
- void setAdditionalData(QByteArray data) {};
+ virtual bool setAdditionalData(QByteArray data)
+ {
+ return false;
+ }
QByteArray send(QWebSocket& transport, unsigned int callid);
inline bool isComplete() const