Status Desktop client made in Nim & QML https://status.app
Go to file
Jonathan Rainville 0ebc81594a refactor: reduce calls to getMessageById and remove calls for reactions
Fixes #9859

getMessageById was called way too often, because each time a contact was updated, we called it on every message that contained a mention. Now we only call it on messages that contain a mention from that specific user.

Also, we called emojiReactionsByChatIDMessageID as part of that service call, but only the pinned message used it, so I removed it from the service function. This means that the pinned messages will no longer have the emoji reactions. I could add them back if we really want, but IMO, it's not really necessary. You can just click on the message and see it in the chat instead.

I removed the call to `getMessageById` in the activity center as well, since we can get the replied message info from the MessageDto directly now.

I also removed some dead code in the messages module.
2023-03-21 10:09:51 -04:00
.github
app feat(Wallet) cache fetched balance history to DB for efficiency 2023-02-15 18:52:37 +04:00
ci QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
cmake
libs feat(Wallet) cache fetched balance history to DB for efficiency 2023-02-15 18:52:37 +04:00
monitoring feat(Monitoring): Backend's properties and models visualization 2023-01-16 14:46:58 +01:00
resources feat(Wallet) cache fetched balance history to DB for efficiency 2023-02-15 18:52:37 +04:00
scripts QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
spellchecking@f1a88d1147
src refactor: reduce calls to getMessageById and remove calls for reactions 2023-03-21 10:09:51 -04:00
storybook chore(StatusItemSelector): Use StatusFlowSelector as a base component 2023-03-21 11:59:12 +01:00
test tests(wallet) disable add watch only account failing test 2023-03-17 01:24:38 +01:00
test-scripts
ui fix(JoinCommunityView): update amIMember state when kicked and joined 2023-03-21 12:16:53 +01:00
vendor feat(@desktop/wallet): add support for collectible "watched contracts". Re-fetch collectibles periodically. 2023-03-20 12:42:32 -03:00
.clang-format
.clang-tidy
.gitignore
.gitmodules Nim library updates, pt 2 (#9734) 2023-03-20 07:34:56 +01:00
.npmrc
.yarnrc
AppRun
AppRun-cpp
CMakeLists.txt
I18N.md
Info.dev.plist QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
Info.plist QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
LICENSE.md
Makefile QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
QtWebEngineProcess.plist
README.md
VERSION chore: bump git master version post 0.9 release 2023-02-01 16:55:30 +01:00
build-linux.sh QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
cacert.pem
conanfile.txt
config.nims
docker-linux-app-image.sh QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
env.sh
fleets.json
nim-status.desktop
nim.cfg
nim_status_client.nimble
package-lock.json
package.json
screenshot.png
status-dev.icns
status-dev.svg
status-macos-dev.svg
status-macos.ico
status-macos.svg
status.desktop
status.icns
status.ico
status.iss
status.svg
windows-install.txt