mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 21:28:08 +00:00
fix(ChatMessage): use "legacy" key instead of "app" for content app data
This commit is contained in:
parent
72c20adc17
commit
8f1ee5a06d
1 changed files with 2 additions and 2 deletions
|
|
@ -188,7 +188,7 @@ const string &ChatMessagePrivate::getAppdata () const {
|
|||
for (const Content *c : contents) {
|
||||
if (c->getContentType().isFile()) {
|
||||
FileContent *fileContent = (FileContent *)c;
|
||||
return fileContent->getAppData("app");
|
||||
return fileContent->getAppData("legacy");
|
||||
}
|
||||
}
|
||||
return Utils::getEmptyConstRefObject<string>();
|
||||
|
|
@ -198,7 +198,7 @@ void ChatMessagePrivate::setAppdata (const string &data) {
|
|||
for (const Content *c : contents) {
|
||||
if (c->getContentType().isFile()) {
|
||||
FileContent *fileContent = (FileContent *)c;
|
||||
fileContent->setAppData("app", data);
|
||||
fileContent->setAppData("legacy", data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue