status-desktop/ui/app/AppLayouts/Chat/stores
Jonathan Rainville ceb810e63d fix(contacts): fix inconsistency when banning or unbanning contact
Fixes #10501

The problem was that didn't have access to the updated contact from status-go after banning or unbanning, so we just changed the banned property, but there is more that gets changed in the backend, like `removed` being set to `true` as well.
With this fix, when you unban someone, you go back to a fresh start, as **non** contact, so you need to send a request again. That was the state you got if you restarted the app, so "re-sync" the state with status-go.
Another issue was on the frontend (QML). When banned,  and after restarting to get the right state, the unban button would be disabled and the Add contact request button would show, which is not good. We only want to send requests when unbanned.
2023-06-01 14:25:20 -04:00
..
CreateChatPropertiesStore.qml fix(newChat): fix sending messages in new ad hoc chat with new store 2023-05-05 09:36:14 -04:00
MessageStore.qml fix(MessageContextMenu): Cleanup. Separate menu for profile. (#10729) 2023-05-19 19:07:50 +03:00
MessagesData.qml
PermissionsStore.qml feat: introduce first JoinCommunityView for token-gated communities 2023-03-09 16:35:06 +01:00
RootStore.qml fix(contacts): fix inconsistency when banning or unbanning contact 2023-06-01 14:25:20 -04:00
StickerData.qml
StickerPackData.qml
StickersStore.qml chore(@desktop/wallet): Add logic to handle the selected account for the send and receive modal to nim 2023-05-04 21:07:49 +02:00
UsersStore.qml feat(storybook): add MembersSelector to storybook 2022-11-18 13:13:38 +01:00
qmldir fix(newChat): fix sending messages in new ad hoc chat with new store 2023-05-05 09:36:14 -04:00