Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar: Contacts management #43

Open
1 of 3 tasks
valeriansaliou opened this issue Jun 17, 2022 · 2 comments
Open
1 of 3 tasks

Sidebar: Contacts management #43

valeriansaliou opened this issue Jun 17, 2022 · 2 comments
Assignees
Labels
feature New feature to implement
Milestone

Comments

@valeriansaliou
Copy link
Member

valeriansaliou commented Jun 17, 2022

  • Implement fetching of roster (and refresh the local store w/ added, updated, removed contacts)

  • Handle live roster updates from the server when connected (roster pushes)

    • Description: The server may push roster changes whenever the server-side roster gets updated (eg. by another connected Prose app). The local roster store should be updated.
    • XEPs:
  • Implement a simple popup to start a new conversation with a target JID (a single JID for now)

    • Description: This comes handy to test messaging w/ different contacts and later test user-info fetching for same-server and federated contacts.
@valeriansaliou valeriansaliou added the enhancement Improvement request label Jun 17, 2022
@valeriansaliou valeriansaliou added this to the MVP milestone Jun 17, 2022
@valeriansaliou valeriansaliou added feature New feature to implement and removed enhancement Improvement request labels Jun 17, 2022
@nesium
Copy link
Contributor

nesium commented Jun 20, 2022

How are we going to handle presence subscriptions?

Since we're working in a team/company environment it would be cumbersome if you'd have to send subscription requests to each of your teammates.

But that's a deviation from the standard XMPP and could only be handled on the server since presence subscriptions are one-way (e.g. both parties have to allow subscription).

@valeriansaliou
Copy link
Member Author

You're right, Prose will come w/ a Prosody server already configured to auto-manage the roster + subscriptions for all @Domain that are the same as yours. So in this regard, we will only have to deal w/ incoming 'subscribe' presence types, which if the user is using a Prose-backed XMPP server configuration would only come from external domains, if the server administrator enabled server to server federation, that is if they opted for the server not to be isolated for security reasons (eg. prevent phishing and scams).

The contact accept/reject interface was designed in this view (in the "invites" tab):

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature to implement
Projects
Status: In Progress
Development

No branches or pull requests

2 participants