Skip to content
Snippets Groups Projects
Commit 1bff3576 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

Add matrix id to user object model

parent bb7c661b
No related branches found
No related tags found
1 merge request!242update: Add matrix id to user object model
Pipeline #57640 passed
......@@ -68,6 +68,9 @@ public abstract class EfUser {
public abstract String getWebsite();
@Nullable
public abstract String getMxid();
public abstract Country getCountry();
@Nullable
......@@ -129,6 +132,7 @@ public abstract class EfUser {
.setOrg(null)
.setJobTitle("bot")
.setWebsite("")
.setMxid("")
.setCountry(Country.builder().build())
.setInterests(Collections.emptyList())
.setPublicFields(Collections.emptyList())
......@@ -177,6 +181,8 @@ public abstract class EfUser {
public abstract Builder setWebsite(String website);
public abstract Builder setMxid(@Nullable String mxid);
public abstract Builder setCountry(Country country);
public abstract Builder setBio(@Nullable String bio);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment