Page MenuHomePhabricator

D11383.id38440.diff
No OneTemporary

D11383.id38440.diff

diff --git a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/MessageOperationsUtilities/MessageSpecs.h b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/MessageOperationsUtilities/MessageSpecs.h
--- a/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/MessageOperationsUtilities/MessageSpecs.h
+++ b/native/cpp/CommonCpp/NativeModules/PersistentStorageUtilities/MessageOperationsUtilities/MessageSpecs.h
@@ -39,11 +39,13 @@
UNSUPPORTED,
IMAGES,
MULTIMEDIA,
- UPDATE_RELATIONSHIP,
+ LEGACY_UPDATE_RELATIONSHIP,
SIDEBAR_SOURCE,
CREATE_SIDEBAR,
REACTION,
EDIT_MESSAGE,
+ TOGGLE_PIN,
+ UPDATE_RELATIONSHIP,
};
const std::map<MessageType, std::unique_ptr<MessageSpec>> messageSpecsHolder =
@@ -83,7 +85,7 @@
message_specs_initializer.insert(
{MessageType::MULTIMEDIA, std::make_unique<MultimediaMessageSpec>()});
message_specs_initializer.insert(
- {MessageType::UPDATE_RELATIONSHIP,
+ {MessageType::LEGACY_UPDATE_RELATIONSHIP,
std::make_unique<UpdateRelationshipMessageSpec>()});
message_specs_initializer.insert(
{MessageType::CREATE_SIDEBAR,
@@ -95,6 +97,9 @@
std::make_unique<SidebarSourceMessageSpec>()});
message_specs_initializer.insert(
{MessageType::EDIT_MESSAGE, std::make_unique<EditMessageSpec>()});
+ message_specs_initializer.insert(
+ {MessageType::UPDATE_RELATIONSHIP,
+ std::make_unique<UpdateRelationshipMessageSpec>()});
return message_specs_initializer;
}();

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 3:58 PM (20 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576066
Default Alt Text
D11383.id38440.diff (1 KB)

Event Timeline