diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-03-19 12:22:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-03-19 12:22:25 +0100 |
commit | c207201a4a5a47e4ad286ba7371e4176c8ed5056 (patch) | |
tree | 253b84dae998a7506042ef924caf8beb498c6ba9 /src/plugins | |
parent | 5f022066684f8ed6c4b827fabf8554d8730add2f (diff) |
Start on touch support, add support for ui scaling, revert back to old get_message_by_id method for matrix to support loading user display names in replies
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Matrix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 046fe91..aa6de40 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -3005,7 +3005,7 @@ namespace QuickMedia { auto fetched_message_it = room->fetched_messages_by_event_id.find(event_id); if(fetched_message_it != room->fetched_messages_by_event_id.end()) return fetched_message_it->second; -#if 0 +#if 1 rapidjson::Document request_data(rapidjson::kObjectType); request_data.AddMember("lazy_load_members", true, request_data.GetAllocator()); @@ -3084,7 +3084,7 @@ namespace QuickMedia { events_add_user_info(state_json, room); #endif //events_set_room_name(state_json, room); -#if 0 +#if 1 const rapidjson::Value &event_json = GetMember(json_root, "event"); std::shared_ptr<Message> new_message = parse_message_event(event_json, room); #else |