Pascal Precht d70a23cb9a fix(CommunityService): ensure communitySettings aren't mistakenly
overwritten

When communities are edited, status-go sends a signal with the community
description, to ensure the network is updated to the latest changes.

However, that community description doesn't include `communitySettings`.
When we then compose the `CommunityDto` object from that signal, it will have
a default certain settings to `false` which might actually be `true`.

The result is that data in memory is incorrect.

To ensure we don't run into this issue, we check whether the attached
settings have an id, if they don't, we know the settings do not
originate from the signal data, meaning we can use the settings we
already have.
2022-05-12 12:20:23 -04:00
2022-02-01 15:48:54 -04:00
2022-04-15 12:45:27 +02:00
2022-05-12 13:22:37 +02:00
2022-03-10 14:12:11 -04:00
2022-03-11 15:52:47 -05:00

Status-desktop

Desktop client for the Status Network built with Nim and Qt

https://github.com/status-im/nim-status-client/blob/master/screenshot.png

Dev Docs: https://hackmd.io/@status-desktop/B1naRjxh_/https%3A%2F%2Fhackmd.io%2F%40status-desktop%2FB1eOaf-nd

CPP App

Setup Linux:

  1. conancenter Execute conan remote list. It should return this line among the results.
conancenter: https://center.conan.io [Verify SSL: True]

If it doesnt, consider upgrading conan with pip install conan --upgrade and then executing. conan remote add -i 0 conancenter https://center.conan.io . See conan's documentation for more info.

  1. conan libstdc++11 This applies to linux: the default conan profile does not work, since GCC uses the new C++ ABI since version 5.1 and conan, for compatibility purposes uses the old C++ ABI. Execute this to update the profile:
conan profile update settings.compiler.libcxx=libstdc++11 default
  1. Install dependencies:
cd build
conan install .. -s build_type=Release --build=missing

Setup OS X:

  1. Create conan profile ~/.conan/profiles/clang:
[settings]
compiler=apple-clang
compiler.version=12.0
compiler.libcxx=libc++
arch=x86_64
os=Macos
build_type=Release

[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
  1. Install dependecies:
cd build
conan install .. --profile=clang --build=missing

Buid & test & run:

conan build ..
ctest -VV -C Release
./status-desktop

Instead of conan build .. CMake may be used:

cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build . --config Release
Description
Status Desktop client made in Nim & QML
https://status.app
Readme
Languages
QML 39.4%
JavaScript 29.5%
Nim 18.5%
Python 5.6%
C++ 5.2%
Other 1.6%