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

Attributes in user profiles #1344

Closed
homebeach opened this issue Jun 27, 2018 · 15 comments
Closed

Attributes in user profiles #1344

homebeach opened this issue Jun 27, 2018 · 15 comments

Comments

@homebeach
Copy link

Users could be able to define attributes in their profiles. The attributes could be key-value pairs such as gender: male, nationality: german, age: 30. Values could be also lists: languages: English, German, Interests: cycling, fishing. There could be also special attributes like geotag that could be updated based on navigator coordinates (GPS, GLONASS). Then there could be searchable: (true|false).

The people who have set searchable to true could be searchable from Matrix. You could then make search like "Find all people within 30km distance who like cycling and speak English". You could then make room "Cycling club for English speaking people" and invite people you find to this room.

@dbkr
Copy link
Member

dbkr commented Jun 27, 2018

dup of https://github.com/matrix-org/matrix-doc/issues/489?

@homebeach
Copy link
Author

homebeach commented Jun 27, 2018

One good attribute would also network: (IRC | XMPP | Telegram etc). Based on this standardized value clients could show network logo on user.

@t3chguy
Copy link
Member

t3chguy commented Jun 27, 2018

That's something groups and flair are currently being used for.

@homebeach
Copy link
Author

By the way Tencent QQ has Look Around feature for seeking nearby users. Just if you want to see one implementation of "Search users near me".

@t3chguy
Copy link
Member

t3chguy commented Jun 28, 2018

@homebeach keep in mind you won't be able to search all users near you, only those on the same homeserver as yourself, or maybe also those which are in common rooms to you

@homebeach
Copy link
Author

Why not to let users to choose how they can be found? There could be three options: 1. Visible only for room members, 2. Visible only for users on same server, 3. Visible to whole Matrix network.

@t3chguy
Copy link
Member

t3chguy commented Jun 28, 2018

@homebeach, because there is no "The whole Matrix network".
Servers communicate on a minimal intersection basis, so two servers will only ever communicate if they have users in a common room.

@homebeach
Copy link
Author

Why not to have a feature that servers have lists of such users who have given permission? Then you can make searches over the Matrix and the servers answer with this list.

@t3chguy
Copy link
Member

t3chguy commented Jun 28, 2018

Because even if server XYZ has such a list, how do I know to reach out to server XYZ, there's no central list of servers, servers interact with other servers when they see them inside rooms. So if you're not in common rooms you don't know other servers even exist.

@homebeach
Copy link
Author

Add a feature that servers can forward search requests to servers that they know.

@t3chguy
Copy link
Member

t3chguy commented Jun 28, 2018

It becomes a very expensive operation, O(n^2)
(Assuming you limit at one pass, if you don't have such a limit its O(n^n) which is insane.)

@homebeach
Copy link
Author

This feature could be turned on or off. As matrix grows there could be searchable servers and non-searchable servers. Besides having user lists the searchable servers could also have list what people share and they could be used for file sharing. Whether you are on searchable server or not you are still able to join the same Matrix rooms.

@turt2live
Copy link
Member

I'm closing this as a duplicate of https://github.com/matrix-org/matrix-doc/issues/489 - if anyone feels strongly otherwise, please comment here. There are a couple different concerns in the comment thread that would be best split off into their own requests, however.

@Evidlo
Copy link

Evidlo commented Jul 10, 2018

One good attribute would also network: (IRC | XMPP | Telegram etc). Based on this standardized value clients could show network logo on user.

Should this information even be in the extensible attributes (once they're added)? This might be something that should go into the spec itself.

@Half-Shot
Copy link
Contributor

Half-Shot commented Jul 12, 2018

@Evidlo The idea behind ex-profiles is to allow us to spec more keys rather than hardcoding/specialcasing more than display name/avatar. So the spec would contain a extensible profile key for network :).

In other words, we'd likely be putting common profile items into the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants