status-desktop/devuser_guide/content/dev_guide/chat/contact_requests.md

77 lines
4.5 KiB
Markdown
Raw Normal View History

2021-05-18 15:15:05 +00:00
---
title : "Contact requests"
description: ""
lead: ""
date: 2020-10-06T08:48:23+00:00
lastmod: 2020-10-06T08:48:23+00:00
draft: false
images: []
menu:
dev:
parent: "chat"
toc: true
---
[User Docs for this section](/docs/chat/contact_requests/)
## Sending a contact request
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L186)
### From the contact banner
key source file: [`ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/AddToContactBanner.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/AddToContactBanner.qml#L36)
### From the contact request message
key source file: [`ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/ChatRequestMessage.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ChatColumn/ChatComponents/ChatRequestMessage.qml#L46)
## Seeing contact requests
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L123)
key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml)
## Accepting contact request
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L186)
key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L79)
## Accepting all contact requests
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L199)
key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml#L83)
## Rejecting contact request
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L191)
key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L64)
## Rejecting all contact requests
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L194)
key source file: [`ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/components/ContactRequestsPopup.qml#L69)
## Block contact request
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L216)
key source file: [`ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/Contacts/ContactRequest.qml#L125)
## Notification
key source file: [`src/app/profile/views/contacts.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/views/contacts.nim#L90)
key source file: [`ui/app/AppLayouts/Chat/ContactsColumn.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Chat/ContactsColumn.qml#L124)
## Modifying the setting
key source file: [`src/app/profile/view.nim`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/src/app/profile/view.nim#L137)
key source file: [`ui/app/AppLayouts/Profile/Sections/PrivacyContainer.qml`](https://github.com/status-im/status-desktop/blob/2e5e39191ae25b6b493a7477bd9d13cbd2a556bb/ui/app/AppLayouts/Profile/Sections/PrivacyContainer.qml#L118)