aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/http/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-05-04 16:16:57 +0200
committerChristian Schneppe <christian@pix-art.de>2019-05-04 16:16:57 +0200
commitc91cc236496ffdaa69baec726120a39d11c5f4fe (patch)
tree57829345b2e3e65acfc806648a44feaf11114f85 /src/main/java/de/pixart/messenger/http/services
parent6cf77e3a7ddead3c1a38dda8f522c2517ed9b37c (diff)
added language tag in channel search results
Diffstat (limited to 'src/main/java/de/pixart/messenger/http/services')
-rw-r--r--src/main/java/de/pixart/messenger/http/services/MuclumbusService.java6
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();