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 refactor(desktop/chat) Moving chat to new architecture 2021-10-20 15:29:38 -04:00
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 feat: New Profile Modal 2022-10-17 12:05:54 +02:00
StickerPackData.qml feat: New Profile Modal 2022-10-17 12:05:54 +02:00
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