diff options
Diffstat (limited to 'src/main/java/de/pixart/messenger/http/services')
-rw-r--r-- | src/main/java/de/pixart/messenger/http/services/MuclumbusService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/http/services/MuclumbusService.java b/src/main/java/de/pixart/messenger/http/services/MuclumbusService.java index 7c8ca9e32..b849b664d 100644 --- a/src/main/java/de/pixart/messenger/http/services/MuclumbusService.java +++ b/src/main/java/de/pixart/messenger/http/services/MuclumbusService.java @@ -7,6 +7,7 @@ import java.util.List; import java.util.Set; import de.pixart.messenger.services.AvatarService; +import de.pixart.messenger.utils.LanguageUtils; import de.pixart.messenger.utils.UIHelper; import retrofit2.Call; import retrofit2.http.Body; @@ -35,6 +36,7 @@ public interface MuclumbusService { public String address; public String name; public String description; + public String language; public String getName() { return name; @@ -52,6 +54,10 @@ public interface MuclumbusService { } } + public String getLanguage() { + return LanguageUtils.convert(language); + } + @Override public int getAvatarBackgroundColor() { Jid room = getRoom(); |